-
Notifications
You must be signed in to change notification settings - Fork 80
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Plotting Text Crashes on Second show() Call #94
Comments
Hi @Samiisd, Cool I will work on this in the following weekends and I will update. Thanks for posting btw, nicely spotted! Those bug reports are very useful! Savino |
Hi @piccolomo, I'm glad that it helps. And thanks for maintaining this lib, great experience so far! 👍 |
Hi @Samiisd, I have solved this issue in the new version 5.1, available only on GitHub for now, using: pip install git+https://github.com/piccolomo/plotext To install the optional dependencies, instructions are provided here. Great Issue report btw, I would have not spotted it. The issue was that after the plot, the text data needed to be cleared out, otherwise at each Any feedback or double test is appreciated. |
Description
The second call to plt.show after that plt.text was used generates a
list out of range exception
Reproduce
Let's take the example code from the documentation for plt.text:
Traceback
The text was updated successfully, but these errors were encountered: