在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:lvwerra/jupyterplot开源软件地址:https://github.com/lvwerra/jupyterplot开源编程语言:Jupyter Notebook 98.9%开源软件介绍:jupyterplot
What is it?It generalises Andreas Madsen's excellent python-lrcurve library for machine learning to produce visualisations for arbitrary functions in real-time. Install
How to useSingle plotCreating a simple real-time plot in a Jupyter notebook is as easy as easy as the following snippet:
Note: The Custom rangeBy default, the x and y ranges adapt to new data points. If the scale is known beforehand, it can be steadier to set it beforehand:
Multiple linesOne can also plot several lines in parallel by specifying the line names in the constructor and passing all values in a list.
Note: The data is fed to Multiple plots
Custom x-valuesIf the x values should not be incremented by 1 at every update one can set the
Decoupled y-limitsIf each subplot should have different y-limits then the y-limits can be passed as a list containing the the limits for each subplot.
Input formatSingle plot, single lineIf the progress plot consists of a single plot with a single line one can pass the y-updates as Multiple plots, multiple linesIf multiple plots or lines are used, the y-updates can either be lists or dicts: y_update_list = [[y_plot_1_line_1, y_plot_1_line_2],
[y_plot_2_line_1, y_plot_2_line_2]]
y_update_dict = {'plot_name_1': {'line_name_1': y_plot_1_line_1,
'line_name_2': y_plot_1_line_2},
'plot_name_2': {'line_name_1': y_plot_2_line_1,
'line_name_2': y_plot_2_line_2}} Limitations
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论