1. 程式人生 > >Python可視化工具

Python可視化工具

import lis nbsp 可視化 visual plot () tools output

http://pbpython.com/visualization-tools-1.html

https://bokeh.pydata.org/en/latest/

https://github.com/bokeh/bokeh

http://biobits.org/bokeh-jupyter-embed.html

import pandas as pd
from bokeh.plotting import figure, show
from bokeh.io import output_notebook, output_file

power = pd.read_csv(‘power.csv‘)

time = power[‘time‘].tolist()
current = power[‘current‘].tolist()

plot = figure(title=‘Power Curve‘, plot_width=1900, plot_height=500)
plot.line(x=time, y=current, color=‘green‘)
output_notebook()
#show(plot)

Python可視化工具