pluxbiosignals / biosignalsnotebooks

biosignalsnotebooks project includes a set of Jupyter Notebooks explaining some processing tasks which have been specially designed for biosignalsplux and OpenSignals users. A Python package is also present, containing some functions to support biosignalsnotebooks notebooks or to be used independently.
https://www.biosignalsplux.com/notebooks/Categories/MainFiles/biosignalsnotebooks_rev.php
MIT License
71 stars 22 forks source link

bsnb.plot() not working in spyder #1

Closed harshal5789 closed 4 years ago

harshal5789 commented 4 years ago

when i use command, bsnb.plot([time], [data_list_Ch4], x_axis_label="Time (s)", y_axis_label="Raw Data-EEG") it shows no graph in spyder console.

plt.show() also not working in spyder.

78135292-46ee3780-743f-11ea-87e2-7084d83ac591

ruivarandas commented 4 years ago

biosignalsnotebooks package uses Bokeh to render plots. Once Spyder does not support this type of plots, the alternative is to save the plot to a local file and then open it in a web browser.

This functionality was added in the 0.5.16 version using the line of code: bsnb.plot(<time>, <data>, save_plot=True, file_name="test_plot")