Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Reorganise mpl_toolkits documentation #5752
Conversation
tacaswell
added the
needs_review
label
Dec 26, 2015
|
I am not a fan of putting the external toolkits under the same top-level heading. Maybe add a top-level "Third-party toolkits" section? |
|
I not quite sure what you mean. Are you suggesting to move the page from |
|
Yes, something like:
|
|
|
jenshnielsen
referenced
this pull request
Dec 29, 2015
Closed
Several axes_grid1 and axisartist examples broken on master #5757
jenshnielsen
changed the title from
[WIP] Reorganise mpl_toolkits documentation to Reorganise mpl_toolkits documentation
Dec 29, 2015
|
I think this should be ready for review. The branch at http://jenshnielsen.github.io/matplotlib is updated with the result of building 156cb7f |
|
Uhm, pretty sure this isn't the result of your changes, but the logo/banner Using Firefox 43 on Ubuntu. On Tue, Dec 29, 2015 at 9:12 AM, Jens Hedegaard Nielsen <
|
|
@WeatherGod Is that any different from http://matplotlib.org/devdocs/? |
|
No, it is the same on both pages. On Tue, Dec 29, 2015 at 9:41 AM, Jens Hedegaard Nielsen <
|
|
It's probably due to #5653 then? |
|
as for the mpl_toolkits page itself: On Tue, Dec 29, 2015 at 9:12 AM, Jens Hedegaard Nielsen <
|
|
Most likely, I have posted a comment there. On Tue, Dec 29, 2015 at 9:44 AM, Jens Hedegaard Nielsen <
|
|
@WeatherGod I agree that it's a bit redundant but I have not actually changed that around. That is as it has always been. |
|
But perhaps we should just remove all the TOCs from that page? |
mdboom
commented on an outdated diff
Dec 29, 2015
| </p> | ||
| +<h1>Third party packages</h1> | ||
| + | ||
| +<p>A large number of third party <a href="{{ pathto('mpl_toolkits/index') }}">packages</a> | ||
| + extend and build on Matplotlib functionality, | ||
| + including a choice of two projection and mapping toolkits | ||
| + <a href="http://matplotlib.org/basemap">basemap</a> and | ||
| + <a href="http://scitools.org.uk/cartopy/docs/latest">cartopy</a> |
mdboom
Owner
|
mdboom
commented on an outdated diff
Dec 29, 2015
| +.. warning:: | ||
| + *axisartist* uses a custom Axes class | ||
| + (derived from the mpl's original Axes class). | ||
| + As a side effect, some commands (mostly tick-related) do not work. | ||
| + | ||
| + | ||
| +The *axisartist* contains custom Axes class that is meant to support for | ||
| +curvilinear grids (e.g., the world coordinate system in astronomy). | ||
| +Unlike mpl's original Axes class which uses Axes.xaxis and Axes.yaxis | ||
| +to draw ticks, ticklines and etc., Axes in axisartist uses special | ||
| +artist (AxisArtist) which can handle tick, ticklines and etc. for | ||
| +curved coordinate systems. | ||
| + | ||
| +.. plot:: mpl_toolkits/axisartist/examples/demo_floating_axis.py | ||
| + | ||
| +Since it uses a special artists, some mpl commands that work on |
|
|
mdboom
commented on an outdated diff
Dec 29, 2015
| +Unlike mpl's original Axes class which uses Axes.xaxis and Axes.yaxis | ||
| +to draw ticks, ticklines and etc., Axes in axisartist uses special | ||
| +artist (AxisArtist) which can handle tick, ticklines and etc. for | ||
| +curved coordinate systems. | ||
| + | ||
| +.. plot:: mpl_toolkits/axisartist/examples/demo_floating_axis.py | ||
| + | ||
| +Since it uses a special artists, some mpl commands that work on | ||
| +Axes.xaxis and Axes.yaxis may not work. | ||
| + | ||
| +axisartist | ||
| +---------- | ||
| + | ||
| +*axisartist* module provides a custom (and very experimental) Axes | ||
| +class, where each axis (left, right, top and bottom) have a separate | ||
| +artist associated which is responsible to draw axis-line, ticks, |
|
|
mdboom
commented on an outdated diff
Dec 29, 2015
| + | ||
| +Since it uses a special artists, some mpl commands that work on | ||
| +Axes.xaxis and Axes.yaxis may not work. | ||
| + | ||
| +axisartist | ||
| +---------- | ||
| + | ||
| +*axisartist* module provides a custom (and very experimental) Axes | ||
| +class, where each axis (left, right, top and bottom) have a separate | ||
| +artist associated which is responsible to draw axis-line, ticks, | ||
| +ticklabels, label. Also, you can create your own axis, which can pass | ||
| +through a fixed position in the axes coordinate, or a fixed position | ||
| +in the data coordinate (i.e., the axis floats around when viewlimit | ||
| +changes). | ||
| + | ||
| +The axes class, by default, have its xaxis and yaxis invisible, and |
|
|
mdboom
commented on an outdated diff
Dec 29, 2015
| +Since it uses a special artists, some mpl commands that work on | ||
| +Axes.xaxis and Axes.yaxis may not work. | ||
| + | ||
| +axisartist | ||
| +---------- | ||
| + | ||
| +*axisartist* module provides a custom (and very experimental) Axes | ||
| +class, where each axis (left, right, top and bottom) have a separate | ||
| +artist associated which is responsible to draw axis-line, ticks, | ||
| +ticklabels, label. Also, you can create your own axis, which can pass | ||
| +through a fixed position in the axes coordinate, or a fixed position | ||
| +in the data coordinate (i.e., the axis floats around when viewlimit | ||
| +changes). | ||
| + | ||
| +The axes class, by default, have its xaxis and yaxis invisible, and | ||
| +has 4 additional artists which are responsible to draw axis in |
|
|
|
Oops -- sorry, I missed that this is still a WIP and the text hasn't been edited. I'll hold off on my grammatical/typographical nitpicks until that's done. |
|
Is not WIP any more but by the looks of it most of the typos are in the original text which I have just moved. |
|
I see. Should we try to fix those now anyway? I'm happy to just do them as a PR against this one if that's more efficient... |
|
We might as well fix obvious typos now. I have tried not to do to many heavy edits but most of the examples could definitely need an edit but the question is how much effort we want to put into this part of the code? |
|
I'll spend a few minutes (but no more) fixing obvious typos and submit a PR against this one... |
|
Actually, now that I'm understanding the size of this better, I think it's probably best to leave the text as-is for this PR and try to clean it up later. (We really need to devote some real effort to editing the docs for grammar/consistency in a lot of places...) |
|
@WeatherGod I have removed the toc trees @mdboom I corrected the typos that you already noted and added a note above the matplotlib organization to thirdpartypackages/index |
|
I have added an api changes noted that The few files which were different in |
|
Has the github.io been updated for the latest changes? On Wed, Dec 30, 2015 at 7:46 AM, Jens Hedegaard Nielsen <
|
|
Sorry I was on a flaky internet connection on the train should be there now |
|
looking much better now. On Wed, Dec 30, 2015 at 11:36 AM, Jens Hedegaard Nielsen <
|
|
Rebased onto current master |
jenshnielsen
added some commits
Dec 26, 2015
|
I have uploaded a new preview version to http://jenshnielsen.github.io/matplotlibdocs rather than http://jenshnielsen.github.io/matplotlib |
|
I think this should be ready to go. The documentation is by no means perfect but I think this is a significant structural improvement. |
WeatherGod
commented on an outdated diff
Jan 5, 2016
| @@ -0,0 +1,7 @@ | ||
| +`mpl_toolkits.axes_grid` has been deprecated | ||
| +```````````````````````````````````````````` | ||
| + | ||
| +All functionallity from `mpl_toolkits.axes_grid` can be found in either | ||
| +`mpl_toolkits.axes_grid1` or `mpl_toolkits.axisartist`. Axes classes from | ||
| +`mpl_toolkits.axes_grid` based on `Axis` from `mpl_toolkits.axisartist` can be | ||
| +fund in `mpl_toolkits.axisartist` |
|
|
|
By the way. I'm happy to revet the deprecation of |
WeatherGod
and 1 other
commented on an outdated diff
Jan 5, 2016
| -The matplotlib :ref:`AxesGrid <toolkit_axesgrid-index>` toolkit is a collection of helper classes to | ||
| -ease displaying multiple images in matplotlib. The AxesGrid toolkit is | ||
| -distributed with matplotlib source. | ||
| +The :ref:`mpl_toolkits.axisgrid1 <toolkit_axesgrid1-index>` toolkit is a |
|
|
WeatherGod
commented on an outdated diff
Jan 5, 2016
| + | ||
| +.. _toolkit_prettyplotlib: | ||
| + | ||
| +prettyplotlib | ||
| +============= | ||
| + | ||
| +`prettyplotlib <https://olgabot.github.io/prettyplotlib>`_ is an extension | ||
| +to matplotlib which changes many of the defaults to make plots some | ||
| +consider more attractive. | ||
| + | ||
| + | ||
| +iTerm2 terminal backend | ||
| +======================= | ||
| + | ||
| +`matplotlib_iterm2 <https://github.com/oselivanov/matplotlib_iterm2>`_ is an | ||
| +external matplotlib backend uses iTerm2 nightly build inline image display |
|
|
|
I think that's all the typos I can find. I vote for deprecation of axes_grid. It has been a long time coming, and splitting axisartist out in the documentation makes things a lot more understandable. |
|
This has a +1 from me. Should this be backported to v2.x or should it stay in master? |
|
I was not planning to backport it to 2.x but I can be convinced otherwise. Any objections to merging this. It moves around a large number of examples so I would like to merge it before it acquires to many conflicts. |
WeatherGod
added a commit
that referenced
this pull request
Jan 8, 2016
|
|
WeatherGod |
5eec831
|
WeatherGod
merged commit 5eec831
into matplotlib:master
Jan 8, 2016
tacaswell
removed the
needs_review
label
Jan 8, 2016
|
ok, we will leave it in master for now |
jenshnielsen
deleted the
jenshnielsen:axisgriddocs branch
Jan 8, 2016
QuLogic
modified the milestone: next major release (2.0), proposed next point release (2.1)
Jan 8, 2016
QuLogic
added a commit
to QuLogic/matplotlib
that referenced
this pull request
Oct 19, 2016
|
|
QuLogic |
846279e
|
QuLogic
added a commit
to QuLogic/matplotlib
that referenced
this pull request
Oct 19, 2016
|
|
QuLogic |
6595e4c
|
jenshnielsen commentedDec 26, 2015
The mpl_toolkits axes_grid and axisartist documentation is very focused on the axes_grid namespace dispite the fact that this is not recommenced for use. The code has been split into axes_grid1 and axisartist. This PR aims to do the same for the documentation and make the documentation more visible and consistent.
This is WIP because the text still needs some editing for consistency. A tiny bit of functionality is still hidden in axes_grid.parasiteaxis which I plan to more to axesartist.
I am also tempted to move deprecate axes_grid and interested in input to this.
The docs as build by this branch is up at http://jenshnielsen.github.io/matplotlib