Commit Graph

16 Commits

Author SHA1 Message Date
Egor.Eliseev
8e2f73f9f1 PY-29311 Make SciView plots interactive
1. Add image representation as html (mpld3 lib)
2. Add html preview editor for interactive plots
3. Add a suggestion "Install mpld3"
4. Add "Save as html" action
5. Add tests


Merge-request: IJ-MR-114428
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>

GitOrigin-RevId: dab7cc1dac74ec5e90d4bcd1a88fd6aadf06e557
2023-10-19 12:03:04 +00:00
Elizaveta Shashkova
808410bf8b PY-56370 No plots with Matplotlib 3.6.0: `AttributeError: module 'backend_interagg' has no attribute 'FigureCanvas'
Add dummy support for the new pyplot API

(cherry picked from commit a57cfa1a3cd05b211f02eb22bb703fa5ad72404a)

IJ-CR-95901

GitOrigin-RevId: 73f39d1900cf9fbacdde231667a96fc5abc3deeb
2022-09-27 12:49:00 +00:00
Elizaveta Shashkova
314cee4443 PY-32106 SciView forces tight_layout for plots
It was added as a workaround for seaborn PY-27121, but it doesn't look like a good idea

GitOrigin-RevId: 9fb9d28df0132c628b9d0ee23365c30d63aa6ade
2020-10-21 14:47:27 +00:00
Elizaveta Shashkova
da322c3294 IDEA-CR-61079: PY-41267 Add logging for Plots in SciView
GitOrigin-RevId: 742dbc8bf2a602c4f4eebd30a360348fa8b00d01
2020-04-13 12:08:37 +00:00
Ekaterina Tuzova
f3be62ba5e PY-33673 AttributeError: 'FigureCanvasInterAgg' object has no attribute 'renderer' when trying to save plot to numpy array. 2019-01-24 16:11:36 +03:00
Ekaterina Tuzova
19ac8f8f29 PY-33670 Scientific view doesn't support Python < 3.6 2019-01-24 16:08:45 +03:00
Ekaterina Tuzova
469a9a02d9 cleanup 2018-11-30 13:41:37 +03:00
Igor Alshannikov
5de34343ac ggplot in pycharm: add 'display' api
- add module 'intellij.python.community.scientific' (figures etc.)
- add extension point 'pythonid.scientific.displayMessageHandler' (python-core-common.xml)
- switch matplotlib to be using new 'display'api
2018-11-30 13:41:36 +03:00
Ekaterina Tuzova
717aeb5240 matplotlib removed verbose attribute in 2.2.0 2018-03-06 17:28:36 +03:00
Ekaterina Tuzova
05b0c625cf ConnectionRefusedError is not available in python2 2017-12-21 14:52:03 +03:00
Ekaterina Tuzova
88671a96cf PY-27121 Scientific View: Plot is not displayed properly 2017-12-18 16:18:25 +03:00
Ekaterina Tuzova
77449b758d support matplotlib interactive plot update 2017-10-10 18:48:11 +03:00
Ekaterina Tuzova
040c101671 pandas plot interactive 2017-10-10 17:48:35 +03:00
Ekaterina Tuzova
0abcaf9129 allow to use interactive mode in python console and pandas.plot as well 2017-10-10 13:59:35 +03:00
Ekaterina Tuzova
665e775702 PY-26272 Plot isn't shown till user stops script execution 2017-10-06 13:41:30 +03:00
Ekaterina Tuzova
0c7c35441a initial support for matplotlib toolwindow
Plots toolwindow is implemented as part of SciView toolwindow.
DataView merged into SciView.

Features:
- open toolwindow with plot on plot available (run/console/rebug)
- plots in toolwindow are in separate tabs with image editor inside
- tabs in toolwindow are closeable
- save plot as file action
- DnD to/from editor supported
- plots toolwindow could be disabled from Settings
2017-10-06 13:41:30 +03:00