8000 DOC/MNT: Throwing some docstrings at axes_rgb.py by ericdill · Pull Request #4564 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

DOC/MNT: Throwing some docstrings at axes_rgb.py #4564

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 7 commits into from
Jul 1, 2015
Merged
Changes from 1 commit
Commits
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
MNT: Move import to top of module
  • Loading branch information
ericdill committed Jun 29, 2015
commit 0d1dde70b191291321a71488de8a34434ea138d5
6 changes: 2 additions & 4 deletions lib/mpl_toolkits/axes_grid1/axes_rgb.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
import numpy as np
from .axes_divider import make_axes_locatable, Size, locatable_axes_factory
import sys
from .mpl_axes import Axes


def make_rgb_axes(ax, pad=0.01, axes_class=None, add_all=True):
"""
Expand Down Expand Up @@ -54,8 +56,6 @@ def make_rgb_axes(ax, pad=0.01, axes_class=None, add_all=True):

return ax_rgb

#import matplotlib.axes as maxes


def imshow_rgb(ax, r, g, b, **kwargs):
ny, nx = r.shape
Expand All @@ -73,8 +73,6 @@ def imshow_rgb(ax, r, g, b, **kwargs):
return im_rgb


from .mpl_axes import Axes

class RGBAxesBase(object):
"""base class for a 4-panel imshow (RGB, R, G, B)

Expand Down
0