You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm creating this issue to start the discussion of moving to pytplot 2.0!
TLDR:
For those of you unaware, I've been developing a version of pytplot that uses matplotlib to generate the figures instead of pyqtgraph; the development has been occuring under the 'matplotlib-backend' branch:
For pytplot 2.0, I suggest that we make this backend the default, and deprecate the current Qt backend. I also think we should make this release ASAP.
Why?
I'm sure most of you have encountered some of the recent problems with pyqtgraph; this update will fix all of those issues and introduce several new features.
Bugs this fixes:
errors installing on linux machines without an X server running (e.g., in WSL, Google colab, Deepnote, etc.)
fixes issue with ysubtitle not being aligned with ytitle
many more, I'm sure...
New features:
Publication quality figures (in addition to 'save_png', this update adds the options: 'save_eps', for saving postscript files, 'save_svg', for saving SVG files, and 'save_pdf' for saving PDF files)
Ability to create figures in Jupyter notebooks, including in Google colab, Deepnote, etc.
Option to return the figure and axes objects, so users can directly manipulate their figures; this allows users to add text, images, or make any other changes matplotlib allows (closes Allow text labels inside the plot? #8)
Option to add error bars to line plots, set via the 'dy' option when creating the variable with store_data (closes Add error bars to tplot #60)
I'm creating this issue to start the discussion of moving to pytplot 2.0!
TLDR:
For those of you unaware, I've been developing a version of pytplot that uses matplotlib to generate the figures instead of pyqtgraph; the development has been occuring under the 'matplotlib-backend' branch:
https://github.com/MAVENSDC/PyTplot/tree/matplotlib-backend
There's a jupyter notebook with examples of using this backend at:
https://github.com/MAVENSDC/PyTplot/blob/matplotlib-backend/docs/PyTplot%20examples%20with%20matplotlib.ipynb
For pytplot 2.0, I suggest that we make this backend the default, and deprecate the current Qt backend. I also think we should make this release ASAP.
Why?
I'm sure most of you have encountered some of the recent problems with pyqtgraph; this update will fix all of those issues and introduce several new features.
Bugs this fixes:
New features: