-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Scatter3D: depthshade=False causes IndexError for Tkinter when plotting more than one point. #18037
Comments
The full trackback:
This is a regression from 3.2. |
Labeling as a good first issue because there is an example that used to work and no longer does so no API design work, but medium difficulty because the mplot3d code is a bit complex to walk through. Tasks:
|
Hi, I'm new to open source, could I try my hand at this? |
Have at it. |
4428da6 is the first bad commit (cc @xenoryt) Author: Tyrone Xiong ty.cx123@gmail.com I may have come up with some type of solution but I don't know why it works due to the complex names of the variables within this section |
take |
Fixed by #18156. |
Bug report
Bug summary
Setting
depthshade=False
causes an IndexError for Tkinter when plotting more than one point. There are no errors when plotting one point.Code for reproduction
Actual outcome
I'll only post the first and last rows of the terminal, as the rest contains privacy sensitive information.
First rows:
Last rows:
Expected outcome
It should just plot two points in a 3D space.
Matplotlib version
I recently upgraded Matplotlib via pip:
And originally installed it with pip as well within a virtual environment created with python-venv. I tested the code above in an older virtual environment and no errors occur when using matplotlib version 3.2.2.
The text was updated successfully, but these errors were encountered: