Plotting to SciView: Plots from Jupyter

Answered

I was trying to have plots from a ipynb to show in the SciView: Plots tab. Is this an intended use-case?

When I run a cell, I get only an in-line plot. If I try to assign to a variable, I don't see option to view it as a plot either (like you can view as dataframe).

I was trying stuff like this:

import matplotlib
# this was work around to get it in a window vs in-line but it's not in that tab
# matplotlib.use('Qt5Agg')
import matplotlib.pyplot as plt

plt.plot(df['x'], df['y'])
plt.show()

I do have the "Show plots in tool window checked" and the view is on "Scientific Mode".

Any help would be appreciated

2
2 comments

SciView doesn't work with Jupyter Notebooks yet.

Please feel free to submit a feature request about it to our issue tracker using the link https://youtrack.jetbrains.com/issues/PY

0

it would indeed be a nice idea but they are so overwhelmed by fixing “important” stuff constantly, losing ground to vscode that they can't work on these nice features, they will NEVER see the light unfortunately.
So much for a “data science” advertised IDE

There's an open issue here btw (in case you want to give an useless upvote): https://youtrack.jetbrains.com/issue/PY-28579/Make-SciView-plots-working-with-Jupyter-Notebooks
 

0

Please sign in to leave a comment.