-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plots doesnt show up in version 6.0.0b2 #22224
Comments
Hey @Chuck321123, thanks for reporting. What do you mean by this?
What's exactly happening in your case? Is the Plots pane not visible? Or are plots not being shown in the IPython console? |
@ccordoba12 Plots are not showing up in the plot panel |
Ok, and are you able to create plots outside Spyder? |
@ccordoba12 Yes |
I have the same problem |
I have been able to do it in Visual Studio Code |
I have solved the problem with ploty using, import plotly.io as pio pio.renderers.default = "png" but I cannot see the graph with matplotlib |
In a different computer I see the plots with ploty and matplotlib |
I have change the conda enviroment and now I see the plots perfectly. |
@Chuck321123, please post the output of |
After changing the conda environment, it seemed to work, but again I am having problems plotting with matplotlib. Plotly works perfectly. I also had problems plotting survival curves with lifelines. |
@ccordoba12 Sure:
|
@Chuck321123, are you still having this issue in 6.0 beta3? |
I still have the same problem with 6.0 beta3 |
I wonder if this is related to the latest issue of plots not showing when using external python environments: #22420 |
I have python 3.10.7, and I had the same symptoms after updating to spyder 6. In other software, matplotlib still worked. I updated a number of potentially related packages (everything with qt5). In the end I updated IPython from 8.22.1 to 8.27.0 and now it works again. Downgrading IPython to 8.22.1 breaks it again. |
Could you share what else you updated or share your conda enviroment packages & versions? I tried updating just IPython in a basic conda environment (with matplotlib and spyder-kernels 3.10) and I still couldn't get plots to show |
I updated some upfront: matplotllib 3.9.2, pandas 2.2.2, numpy 1.26.4, and spyder 6.0.0. It's a native python environment and everything installed with pip (no additional package manager). This is when I ran into problems, and I updated these on top:
|
I still have the same problem, It does not work. |
I updated matplotlib-inline from However, using IPython directly, both versions work with:
In spyder I get this error:
it is the same if I use |
Interesting! I just solved my issue by upgrading matplotlib-inline from 0.1.6 to 0.1.7 |
Hi folks, we found the cause of this problem: a mix of incompatible Matplotlib and Matplotlib-inline versions, possibly with IPython in the mix too, as you found out. Please checkout this comment for our latest findings: #22420 (comment) |
Please continue the discussion on that issue. I'm going to close this one to consolidate everything in a single place. |
Issue Report Checklist
Checklist checked.
Problem Description
So no plots show up in version 6.0.0b2.
What steps reproduce the problem?
What is the expected output?
That i can see plots
Versions
Dependencies
The text was updated successfully, but these errors were encountered: