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

Backend documentation #3144

Closed
tobias47n9e opened this issue Jun 21, 2014 · 5 comments
Closed

Backend documentation #3144

tobias47n9e opened this issue Jun 21, 2014 · 5 comments
Milestone

Comments

@tobias47n9e
Copy link
Contributor

Is the backend documentation still up to date? e.g.: https://github.com/matplotlib/matplotlib/blob/master/doc/api/backend_gtkagg_api.rst

And is there a documentation for FigureCanvasGTK3Agg somewhere in the docs?

@tacaswell
Copy link
Member

It looks like the auto-doc is not run on the gtk backend because you need an X-session to do so. I suspect the solution is to add a mock module so that we can import the mpl code without importing the gtk modules.

The backends in general are not as well documented as we would like, grep is your friend here 😉.

@tacaswell tacaswell added this to the v1.4.0 milestone Jul 12, 2014
@tacaswell tacaswell added the doc label Jul 13, 2014
@tacaswell
Copy link
Member

This is flagged to make sure that the text files for as many of the backends can be generate when we build the docs. I don't think we can actually hit all of them as the macosx and windows backends are mutually exclusive and neither are available on a linux box.

@mdboom How do we want to deal with this?

@mdboom
Copy link
Member

mdboom commented Jul 13, 2014

It seems to me that since the backends all implement the same API, documenting backend_bases should be mostly enough. Maybe autodoc that and then add .rst files that describe any of the GUI-backent-specific differences...

@pelson
Copy link
Member

pelson commented Jul 18, 2014

Maybe autodoc that and then add .rst files that describe any of the GUI-backent-specific differences...

👍

@tacaswell
Copy link
Member

Closing this as it is already done:

http://matplotlib.org/api/backend_bases_api.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants