Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Reorganise mpl_toolkits documentation #5752

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

Merged
merged 32 commits into from
Jan 8, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
999786f
Move axesgrid1 api docs to axesgrid1
jenshnielsen Dec 26, 2015
8f461a2
Move non bundled packages from toolkits to resources
jenshnielsen Dec 26, 2015
b72e97a
Split documentation in axisartist and axes_grid1
jenshnielsen Dec 26, 2015
786c389
Move axisartist userguide to axisartist
jenshnielsen Dec 26, 2015
e9a9cc8
Remove warning
jenshnielsen Dec 26, 2015
a8ae5aa
Split axes_grid1 and axisartist examples
jenshnielsen Dec 26, 2015
60a8b7f
Correct links to examples
jenshnielsen Dec 26, 2015
535eb24
Correct links in whatsnew
jenshnielsen Dec 26, 2015
d49bbce
Correct links to gallery
jenshnielsen Dec 26, 2015
047ccb2
Split figures in axisartist and axisgrid1
jenshnielsen Dec 26, 2015
b1798b6
Correct links to figures
jenshnielsen Dec 26, 2015
138a6c1
Move axisartist docs
jenshnielsen Dec 26, 2015
ef84b93
Move overview docs up one level
jenshnielsen Dec 26, 2015
b41caa4
Clarify index
jenshnielsen Dec 28, 2015
44fb5ea
Update axes_grid1 overview
jenshnielsen Dec 29, 2015
9862d43
Update axes_grid1 some more
jenshnielsen Dec 29, 2015
a2d8009
update axisartist
jenshnielsen Dec 29, 2015
69705a7
Copy all remaing functionality from axes_grid to axisartist
jenshnielsen Dec 29, 2015
b17e5d6
Deprecate mpl_toolkits.axes_grid
jenshnielsen Dec 29, 2015
74da787
Move third party packages to its own toplevel index
jenshnielsen Dec 29, 2015
f6a4c78
Correct module name for axisartist
jenshnielsen Dec 29, 2015
3446e2c
Correct links on front page
jenshnielsen Dec 29, 2015
dd8a782
Update examples readme
jenshnielsen Dec 29, 2015
0635dfe
Remove the use of axes_grid from plotting userguide
jenshnielsen Dec 29, 2015
3b52513
remove pre python26 workaround
jenshnielsen Dec 29, 2015
5846f77
axes_grid to axes_grid1 in whatsnew
jenshnielsen Dec 29, 2015
6e805cf
Don't mention axes_grid in the annotation guide
jenshnielsen Dec 29, 2015
969982e
Remove toc trees
jenshnielsen Dec 30, 2015
00cdd55
Add note about the Matplotlib github org
jenshnielsen Dec 30, 2015
e47e071
Correct typos found by mdboom
jenshnielsen Dec 30, 2015
e817d39
Add api changes about deprecating axes_grid
jenshnielsen Dec 30, 2015
301980c
Correct typos found by @WeatherGod
jenshnielsen Jan 5, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Copy all remaing functionality from axes_grid to axisartist
  • Loading branch information
jenshnielsen committed Jan 5, 2016
commit 69705a77dfb296525eeb6c8fd4ba6f0ad34598b8
2 changes: 1 addition & 1 deletion 2 doc/mpl_toolkits/axisartist/figures/demo_parasite_axes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from mpl_toolkits.axes_grid.parasite_axes import HostAxes, ParasiteAxes
from mpl_toolkits.axisartist.parasite_axes import HostAxes, ParasiteAxes
import matplotlib.pyplot as plt

if __name__ == "__main__":
Expand Down
10 changes: 10 additions & 0 deletions 10 lib/mpl_toolkits/axisartist/axes_divider.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from __future__ import (absolute_import, division, print_function,
unicode_literals)

from matplotlib.externals import six

from mpl_toolkits.axes_grid1.axes_divider import Divider, AxesLocator, SubplotDivider, \
AxesDivider, locatable_axes_factory, make_axes_locatable

from mpl_toolkits.axes_grid.axislines import Axes
LocatableAxes = locatable_axes_factory(Axes)
32 changes: 32 additions & 0 deletions 32 lib/mpl_toolkits/axisartist/axes_grid.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
from __future__ import (absolute_import, division, print_function,
unicode_literals)

from matplotlib.externals import six

import mpl_toolkits.axes_grid1.axes_grid as axes_grid_orig
from .axes_divider import LocatableAxes

class CbarAxes(axes_grid_orig.CbarAxesBase, LocatableAxes):
def __init__(self, *kl, **kwargs):
orientation=kwargs.pop("orientation", None)
if orientation is None:
raise ValueError("orientation must be specified")
self.orientation = orientation
self._default_label_on = False
self.locator = None

super(LocatableAxes, self).__init__(*kl, **kwargs)

def cla(self):
super(LocatableAxes, self).cla()
self._config_axes()


class Grid(axes_grid_orig.Grid):
_defaultLocatableAxesClass = LocatableAxes

class ImageGrid(axes_grid_orig.ImageGrid):
_defaultLocatableAxesClass = LocatableAxes
_defaultCbarAxesClass = CbarAxes

AxesGrid = ImageGrid
13 changes: 13 additions & 0 deletions 13 lib/mpl_toolkits/axisartist/axes_rgb.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from __future__ import (absolute_import, division, print_function,
unicode_literals)

from matplotlib.externals import six

#from mpl_toolkits.axes_grid1.axes_rgb import *
from mpl_toolkits.axes_grid1.axes_rgb import make_rgb_axes, imshow_rgb, RGBAxesBase

#import mpl_toolkits.axes_grid1.axes_rgb as axes_rgb_orig
from .axislines import Axes

class RGBAxes(RGBAxesBase):
_defaultAxesClass = Axes
20 changes: 20 additions & 0 deletions 20 lib/mpl_toolkits/axisartist/parasite_axes.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
from __future__ import (absolute_import, division, print_function,
unicode_literals)

from matplotlib.externals import six

from mpl_toolkits.axes_grid1.parasite_axes import \
subplot_class_factory, \
parasite_axes_class_factory, parasite_axes_auxtrans_class_factory, \
host_axes_class_factory

from .axislines import Axes


ParasiteAxes = parasite_axes_class_factory(Axes)

ParasiteAxesAuxTrans = parasite_axes_auxtrans_class_factory(axes_class=ParasiteAxes)

HostAxes = host_axes_class_factory(axes_class=Axes)

SubplotHost = subplot_class_factory(HostAxes)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.