8000 Corrected cax attributes of ImageGrid axes by inclement · Pull Request #3957 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Corrected cax attributes of ImageGrid axes #3957

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
Feb 19, 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
Pep8 fixes in axes_grid test
  • Loading branch information
inclement committed Feb 6, 2015
commit ccb53b0f8664ddbef5c2311e11cb1538f691f1e8
10 changes: 5 additions & 5 deletions lib/mpl_toolkits/tests/test_axes_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import numpy as np
import matplotlib.pyplot as plt


@image_comparison(baseline_images=['imagegrid_cbar_mode'],
extensions=['png'],
remove_text=True)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we only need to test one format here. PNG is a good candidate.

Expand All @@ -14,11 +15,10 @@ def test_imagegrid_cbar_mode_edge():
fig = plt.figure(figsize=(6, 6))

grid = ImageGrid(fig, 111,
nrows_ncols = (2, 2),
direction='row',
cbar_location='right',
cbar_mode='edge',
)
nrows_ncols=(2, 2),
direction='row',
cbar_location='right',
cbar_mode='edge')
ax1, ax2, ax3, ax4, = grid

im1 = ax1.imshow(arr.real, cmap='spectral')
Expand Down
0