Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using plotter in Anaconda's JupyterLab gives non-GUI backend UserWarning #106

Open
sakluk opened this issue Aug 10, 2023 · 0 comments
Open

Comments

@sakluk
Copy link

sakluk commented Aug 10, 2023

I just installed heartpy, downloaded the Analysing a PPG signal Notebook, and run it in my laptop using Andonda's JupyterLab (ver 3.2.1). When calling the plotter

#set large figure
plt.figure(figsize=(12,4))

#call plotter
hp.plotter(wd, m)

It gave a UserWarning, but showed the figure normally

heartpy\visualizeutils.py:119: UserWarning: Matplotlib is currently using module://matplotlib_inline.backend_inline, which is a non-GUI backend, so cannot show the figure.
fig.show()

In addition, the output graph (see below) differed slightly what was shown in the example Notebook:

  1. Setting the figure size before calling the plotter didn't have any effect.
  2. The x-axis scale was in seconds, not in samples as in the example Notebook.
  3. The rolling average was missing (default value has changed?).

2023-08-10 heartpy process output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant