Skip to content

plotutils with plotly takes so long to run that you're not able to produce plots #340

@inger-emma

Description

@inger-emma

Describe the bug
I was going through the examples on github and ran the code exactly like written, including using plotly to plot (In notebook 02_Initial_data_insoection). plotly 5.22.0 is installed in my cellpy environment. For a cell which has run approximately 40 cycles plotutils.raw_plot(c, title="Voltage vs time") did not produce a plot within 50 minutes. Not importing plotly (thus plotting with matplotlib works in under 1 second). I do not get any error messages, the plot is just never produced.

  • cellpy version: 1.0.1.post1
  • Python version: 3.11.9
  • Operating System: windows

Expected behavior
The examples should be simple and work without issues like this. Suggest to not use plotly (remove it from the example)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions