-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
BUG: TypeError in plt.savefig using cairo backend #12806
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
Comments
Can you reproduce a minimal working example that shows the problem? Just the trace back will make this hard to reproduce and fix. |
Perhaps something like
would help? |
Yes, this would help. Should I write a patch or do you want to do it? |
go for it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Saving a figure with
plt.savefig
insvg
file format using thecairo
backend results in aTypeError
. The Traceback is:Maybe
subs
should be converted to a one dimensional array first.The versions of the related programs are:
The bug occurred at several plots. However, the creation of the plots is rather complex. Thus I have no minimal example that reproduces the bug for now. If this is necessary, however, I can try to construct one.
The text was updated successfully, but these errors were encountered: