Skip to content

Plotting a spectrum-type variable takes a much longer time than before #155

@horit

Description

@horit

With pytplot 1.7.28 and pyspedas 1.2.8, still I can plot a spectrum-type tplot variable with tplot, while it takes quite a long (~1 min) time for a plot window to show up, if the tplot variable contains a time series "v" array (e.g., (times, 32)). You can plot almost in no time if a spectrum-type variable has a fixed v array (e.g., (32 )).
I am sure that it did not take that long before (e.g., with pytplot 1.7.24). I guess this problem could be caused by some changes that have been made for the code between the two versions. It would be appreciated if you would kindly look into this. Thanks!

P.S. I tested the above on Python 3.9.6 on macOS 10.14.6 with pytplot 1.7.28 and pyspedas 1.2.8.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions