Skip to content
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

savefig() to eps/pdf does not work #6299

Closed
lucaventurini opened this issue Apr 14, 2016 · 3 comments
Closed

savefig() to eps/pdf does not work #6299

lucaventurini opened this issue Apr 14, 2016 · 3 comments
Labels
status: needs clarification Issues that need more information to resolve.

Comments

@lucaventurini
Copy link

While it works for png.

The error is:

   1427     @staticmethod
   1428     def pathOperations(path, transform, clip=None, simplify=None, sketch=None):
-> 1429         return [Verbatim(_path.convert_to_string(
   1430             path, transform, clip, simplify, sketch,
   1431             6,

AttributeError: 'module' object has no attribute 'convert_to_string'

Maybe it's due to a missing self in this line: https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/backends/backend_pdf.py#L1425

@tacaswell
Copy link
Member

Can you provide a minimal example and a full traceback? I can not even tell which module that code is from.

@tacaswell tacaswell added this to the unassigned milestone Apr 14, 2016
@tacaswell tacaswell added the status: needs clarification Issues that need more information to resolve. label Apr 14, 2016
@WeatherGod
Copy link
Member

No, it is a static method, so the call signature does not get a self. Chances are, there is something wrong with your install/build. Could you please include the full traceback, and describe what version of matplotlib you have, and how it was installed?

@efiring
Copy link
Member

efiring commented Jul 15, 2016

Closing; there is nothing we can do with the information available.

@efiring efiring closed this as completed Jul 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs clarification Issues that need more information to resolve.
Projects
None yet
Development

No branches or pull requests

4 participants