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
saving 3D line figure in pgf format results in error #3361
Comments
You passed it as a string instead of a numerical value. Cheers
|
Wow that is embarrassing, as my first question at github. Many thanks still! |
You wouldn't believe how often that particular "bug" came up after the On Mon, Aug 11, 2014 at 11:28 PM, whymranderson notifications@github.com
|
Python 2.7, NumPy 1.7.1, SciPy 0.13.0, Matplotlib 1.3.1
Really loves the Matplotlib! And the pgf backend support!
The following code works:
but its cousin does not:
The following error will come up:
lw = gc.get_linewidth() * mpl_pt_to_in * latex_in_to_pt
TypeError: can't multiply sequence by non-int of type 'float'
The only difference is the set linewidth method. Is it something I did wrong in the second code? Both codes plot correctly, but the second code fails to save into pgf file and generates errors mentioned above. Hope someone can help. Thanks in advance!
:) Tony
The text was updated successfully, but these errors were encountered: