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

Pelson multiaxes colorbar #3

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

Closed
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
212 commits
Select commit Hold shift + click to select a range
93abf33
make ScalarFormatter use of mathtext configurable
ddale Dec 1, 2011
474abc8
Change setupext.py to be compatible with Mac OS X (darwin);
r-owen Mar 1, 2012
5adee64
use sequential YlOrRd colormap for unipolar data, discourage using je…
endolith May 31, 2012
9614b11
Jet is discouraged for MRI images. Google Image Search shows the vast…
endolith May 31, 2012
5564284
use HSV for cyclic data
endolith Jun 3, 2012
c6fac36
fix typos
endolith Jun 3, 2012
fccaa18
ran a spell-checker on some files
endolith Jun 4, 2012
a3ed3ab
more examples of using sequential colormaps for non-negative data, di…
endolith Jun 4, 2012
b2c6723
more typo and spelling fixes
endolith Jun 5, 2012
d147008
coolwarm is specifically designed for diverging data on shaded 3D sur…
endolith Jun 5, 2012
fb4a980
sequential map for non-negative surface
endolith Jun 5, 2012
f16b15f
rainbow instead of jet for diverging data, summer for sequential data
endolith Jun 5, 2012
2df6609
diverging colormaps with centered norms
endolith Jun 5, 2012
f3ba478
better sequential map for showing contours
endolith Jun 5, 2012
80008a2
more complicated example of centered norm diverging colormap
endolith Jun 5, 2012
04409c8
tricontour example rainbow instead of jet, center norm
endolith Jun 5, 2012
e1b17ec
add imports where needed
endolith Jun 8, 2012
2ac91ec
add imports where needed
endolith Jun 8, 2012
9231c4c
remove note to self
endolith Jun 8, 2012
a329dcd
Fix crash in _draw_rotated_text in Gdk backend.
mdboom Jun 11, 2012
f763cd1
Try alternative baseline image for mathfont_stix_14.png
efiring Jun 11, 2012
a988fb0
Add fix to Gdk backend's draw_text to prevent crashing when drawing o…
mdboom Jun 12, 2012
a180e1d
Fix #917. The default value in the list was not being correctly deal…
mdboom Jun 12, 2012
e3499bc
Merge pull request #128 from mdboom/gtk-hexbin-crash
mdboom Jun 13, 2012
b58aa94
Change generated filenames. Put the phrases "expected" and "failed-d…
mdboom Apr 17, 2012
2ad49ae
Use bincount rather than histogram for comparing images on Numpy >= 1…
mdboom Apr 17, 2012
b3c7bcd
Cache results of previous {PDF|SVG} -> PNG conversions. We can only …
mdboom Apr 17, 2012
d638c9b
Use python-ghostscript to convert PDF and EPS to PNG (if available).
mdboom Apr 17, 2012
bf23f41
Use the same gs process to convert all of the images from PDF to PS
mdboom May 7, 2012
342de60
Add a new kwarg to the image_comparison decorator, remove_text, which…
mdboom May 7, 2012
bd8eaeb
Remove obsolete docs about using ghostscript library since using it d…
mdboom May 8, 2012
16f450f
Fix tests after rebase
mdboom Jun 13, 2012
faa78e9
Add support for tox (http://tox.testrun.org/)
msabramo Jun 9, 2012
94e61b0
Add .travis.yml for Travis CI (http://travis-ci.org/)
msabramo Jun 9, 2012
ccce78f
Add sections to devel/coding_guide.rst on using Tox and Travis CI
msabramo Jun 13, 2012
f37729d
Full support for string cmaps.
Jun 16, 2012
715fb43
Stylistic change.
Jun 16, 2012
cb436a5
Fix gridspec demo
Jun 16, 2012
bbc2899
added add_subplot comment re hashing
Jun 17, 2012
18cf273
Merge pull request #952 from pelson/gridspec_demo_fix
pelson Jun 17, 2012
8a810fa
style fixes
endolith Jun 18, 2012
8b80779
style fixes
endolith Jun 18, 2012
c1fdefd
Merge pull request #917 from mdboom/qcombobox
mdboom Jun 18, 2012
888d6fa
Remove typo from GDK backend
mdboom Jun 19, 2012
c33a09f
NF - control the length of colorbar extensions
Mar 14, 2012
d5e48d0
Fixed logformatting for non integer bases.
pelson Jun 20, 2012
a2d44d5
Merge pull request #766 from ajdawson/colorbar-extensions
WeatherGod Jun 20, 2012
f964e67
Tweaks to devel/coding_guide.rst suggested by @mdboom
msabramo Jun 21, 2012
2b4ab26
Merge pull request #951 from pelson/cmap_strings
pelson Jun 21, 2012
a6a9624
Implements @cgra (Christopher Graves) suggestion for issue #807.
WeatherGod Jun 22, 2012
78ba714
Add detection of file extension for file-like objects
cgohlke Jun 23, 2012
5970bde
Merge pull request #921 from endolith/patch-6
efiring Jun 24, 2012
ed4d338
added a quit shortcut key for gui backends and fixed "toggle full scr…
Apr 23, 2012
c887139
Backend factorisation for tooltip sharing.
Apr 23, 2012
507e9aa
removed todo
Apr 23, 2012
dc77096
Fullscreen rather than maximize in Tk. Added fullscreen support to qt…
Apr 23, 2012
3bbbd0a
added modifier key support to the tk backend (i.e. ctrl+key). Additio…
May 21, 2012
df0a112
Several fixes to WX. Modifier keys implemented for qt, wx and gtk bac…
May 22, 2012
49d58fb
Doc improvements, removed escape for quit plot, added todos to backen…
May 28, 2012
74b6489
Improved means of getting figure when fullscreen key is depressed.
pelson Jun 20, 2012
5fdd68a
Tested Tkinter and PySide keys on osx (10.7)
pelson Jun 23, 2012
677f430
Added better 'super' key support.
Jun 24, 2012
9dfd953
More osx tweaks
pelson Jun 24, 2012
e0a8e9e
Merge branch 'ticker-mathtext' of https://github.com/ddale/matplotlib…
efiring Jun 24, 2012
17a82f9
Minor cleanup
r-owen Jun 26, 2012
83471aa
Merge pull request #948 from msabramo/testing_py3
mdboom Jun 27, 2012
9e09227
fix doc typo
lodagro Jun 28, 2012
a9adc68
Merge pull request #968 from lodagro/v1.1.x-doc
pelson Jun 28, 2012
89e5947
Fix lorenz_attractor example on Python 3
cgohlke Jun 28, 2012
b1cbbd1
Fix tiff and jpeg export via PIL
cgohlke Jun 28, 2012
b448b1f
Merge pull request #969 from cgohlke/patch-4
mdboom Jun 28, 2012
8ee4c35
Close temp file following rec2csv_bad_shape test to avoid warning in …
jenshnielsen Jun 29, 2012
a720fd7
Merge pull request #965 from r-owen/master
pelson Jun 29, 2012
2276da8
Force closing PIL image files
cgohlke Jun 29, 2012
0c2b225
Fix sankey.py pep8 and py3 compatibility
cgohlke Jun 30, 2012
3e7ff0d
Fix sankey_demo_old.py pep8 and py3 compatibility
cgohlke Jun 30, 2012
829e253
Fix sankey_demo_links.py pep8 and py3 compatibility
cgohlke Jun 30, 2012
d2086ff
Fix tripcolor_demo.py
cgohlke Jun 30, 2012
59c2e0c
Enhance font_table_ttf.py
cgohlke Jun 30, 2012
7f9c849
Fix embedding_in_qt4_wtoolbar.py on Python 3
cgohlke Jun 30, 2012
3ce591f
Fix lasso_selector_demo.py on Python 3
cgohlke Jun 30, 2012
ebb3f67
Fix radar_chart.py on Python 3
cgohlke Jun 30, 2012
ea590ce
Fix test_mouseclicks.py on Python 3
cgohlke Jun 30, 2012
936576b
Fix basic_units.py on Python 3. PEP8 and PyLint cleanup.
cgohlke Jun 30, 2012
6f17d15
Fix pathpatch3d_demo.py on Python 3
cgohlke Jun 30, 2012
6fe6967
Merge pull request #974 from cgohlke/patch-10
pelson Jun 30, 2012
461807e
Merge pull request #978 from cgohlke/patch-14
pelson Jun 30, 2012
a52a350
Merge pull request #975 from cgohlke/patch-11
pelson Jun 30, 2012
27839d1
Restore import of Axes3D
cgohlke Jun 30, 2012
e9a4db3
Remove commented out code
cgohlke Jun 30, 2012
ac68802
Rename variable
cgohlke Jun 30, 2012
0f8d32b
set version string for 1.1.1 release
jdh2358 Jun 30, 2012
7e47149
Merge pull request #961 from WeatherGod/issue-807-AutoMinorLocator
jdh2358 Jun 30, 2012
d7a4ae2
Rolled back some focusing changes.
pelson Jul 1, 2012
6a362e4
Merge pull request #970 from cgohlke/master
mdboom Jul 1, 2012
d02d5ca
Merge pull request #977 from cgohlke/patch-13
mdboom Jul 1, 2012
dc19faa
Merge pull request #979 from cgohlke/patch-15
mdboom Jul 1, 2012
5b90a27
Merge pull request #851 from pelson/quitkey
efiring Jul 1, 2012
2c85848
Merge pull request #971 from jenshnielsen/close_test_file_v1_1_x
mdboom Jul 2, 2012
c28e8d7
support current and future FreeBSD releases
ivanov Jul 3, 2012
3983e93
use Qt window title as default savefig filename
mspacek May 29, 2012
16dd729
convert QString to string, and fix string.replace() oops
mspacek May 30, 2012
395acc1
in qt4 backend, define get_window_title and call it for default savef…
mspacek May 30, 2012
88dbef7
raise NotImplementedError instead of pass for FigureManagerBase windo…
mspacek May 30, 2012
41aa505
Supported & tested on wx, gtk, gtk3, qt3, tk.
May 31, 2012
f60f942
removed lower() on the filename
May 31, 2012
c090a9c
fix qt4 not using get_default_filename in save_figure
mspacek Jun 1, 2012
3b19a15
maintain compatibility with unimplemented backends
mspacek Jun 4, 2012
23deb00
Add window title management to MacOSX backend
jkseppan Jun 9, 2012
64130e2
Merging the changes to subplots() with my warnings code
WeatherGod Jul 6, 2012
92d2ae3
Correcting for a bad rebase.
WeatherGod Jul 7, 2012
66b14f1
Fix subprocess bug when saving animations.
tonysyu Jul 7, 2012
467fa90
Add print-out of ffmpeg output when debugging.
tonysyu Jul 7, 2012
4f75af3
Merge pull request #908 from mspacek/default_filename
pelson Jul 9, 2012
f99dd0c
typo fixed
bev-a-tron Jul 9, 2012
cf53d4c
Merge pull request #993 from bev-a-tron/master
WeatherGod Jul 9, 2012
b6c5625
Fix bug in pcolorfast introduced by #901
efiring Jul 9, 2012
8c57e4f
Merge pull request #994 from efiring/fix_pcolorfast_quadmesh
efiring Jul 9, 2012
8f50a76
Handle the edge case in matplotlib.axes.vlines, where an empty list o…
dhyams Jul 10, 2012
554bd48
Handled edge case for hlines also; if y is an empty list or zero-leng…
dhyams Jul 10, 2012
d65269d
oops; failed to commit after fixing this little bugaboo; should have …
dhyams Jul 10, 2012
6f3dab5
Fixed potential overflow exception in the lines.contains() method, if…
dhyams Jul 10, 2012
f6b7f28
Merge pull request #1000 from dhyams/fix_vlines
WeatherGod Jul 10, 2012
4047815
Added savefig.bbox option to matplotlibrc
oxling Jul 10, 2012
a496ef1
modifying GTK3 example to use pygobject, and adding a simple example …
Jul 11, 2012
bb6217b
ignore Eclipse PyDev files
JackKelly Jul 12, 2012
97b3166
Merge pull request #985 from ivanov/alternative-to-982
pelson Jul 13, 2012
69dcec4
Added savefig.pad_inches; refactored savefig.bbox
oxling Jul 13, 2012
88b3661
Changed "== None" to "is None"
oxling Jul 13, 2012
bdfb81d
Renamed bbox option from 'default' to 'standard'
oxling Jul 13, 2012
be96256
fix for bug #996 and related issues
mdehoon Jul 15, 2012
408c529
Merge pull request #1011 from mdehoon/fix_for_issue_996
efiring Jul 15, 2012
ad83a78
qt4: remove duplicate file save button; and remove trailing whitespace
efiring Jul 15, 2012
44d7556
contour: map extended ranges to "under" and "over" values
efiring Jul 16, 2012
6a250a9
axisartist: fix set_xlim & set_ylim behavior
leejjoon Jul 16, 2012
43968f1
Merge pull request #1014 from efiring/fix_qt4_icon_dup
efiring Jul 16, 2012
1418e4a
Merge pull request #980 from cgohlke/patch-16
pelson Jul 17, 2012
352467c
Merge pull request #981 from cgohlke/patch-17
WeatherGod Jul 18, 2012
7a6897e
Merge pull request #972 from cgohlke/patch-8
pelson Jul 18, 2012
11567bb
Merge pull request #973 from cgohlke/patch-9
WeatherGod Jul 18, 2012
cbb11da
Merge pull request #963 from cgohlke/patch-1
WeatherGod Jul 18, 2012
1ee7e7b
Merge pull request #898 from WeatherGod/subplot_warn
pelson Jul 18, 2012
9f067e4
Merge remote-tracking branch 'upstream/master'
JackKelly Jul 19, 2012
28514ca
Fix TimerBase call to non-existent method.
dopplershift Jul 18, 2012
5eb7b21
Swallow RuntimeError in __del__.
dopplershift Jul 20, 2012
02a7573
Make sure to set the initial interval for the QTimer.
dopplershift Jul 20, 2012
b836275
Merge pull request #989 from tonysyu/animation-subprocess-bug
dopplershift Jul 20, 2012
9911308
Merge pull request #1025 from dopplershift/timers
dopplershift Jul 20, 2012
2d4098e
Work around the lack of a 2to3 `reload` -> `imp.reload` fixer.
bfroehle Jul 21, 2012
be9a310
Merge pull request #1002 from dhyams/fix_segment_hits
WeatherGod Jul 21, 2012
58581c7
Merge pull request #1033 from bfroehle/py3k_reload
WeatherGod Jul 21, 2012
865f1c0
Fix up switch_backend() and use().
dopplershift Jul 20, 2012
60d869c
Merge pull request #1028 from dopplershift/backend_switch
WeatherGod Jul 21, 2012
badc008
Fix up syntax error and import for traits example.
dopplershift Jul 21, 2012
1f25dcc
Fix invocation of mencoder.
dopplershift Jul 21, 2012
ed6a250
Pass number of frames for file-based writers.
dopplershift Jul 21, 2012
bca3321
contourf_demo: add a figure to illustrate extend options with cmap
efiring Jul 21, 2012
72e1c6c
contourf: use np.inf instead of 1e300 for out-of-range color levels
efiring Jul 21, 2012
60b641d
Check the return code when saving a movie with files.
dopplershift Jul 21, 2012
a4ed0cf
MdH = allow compilation on recent Mac OS X without compiler warnings
Jul 22, 2012
585e0fa
Merge pull request #1034 from mdehoon/fix_for_issue_1013
efiring Jul 22, 2012
63e406b
Merge pull request #976 from cgohlke/patch-12
efiring Jul 22, 2012
297a38c
Update whats_new.rst with new default settings
oxling Jul 23, 2012
e6651c3
Moved ' .. _whats-new-1-1:' to correct position
oxling Jul 23, 2012
561d0da
Merge pull request #1004 from oxling/bbox_merge
WeatherGod Jul 23, 2012
0c8bee7
Move all figures to the front with a non-interactive show() in macosx…
gellule Jul 23, 2012
c721cf0
Merge branch 'v1.1.x'
WeatherGod Jul 23, 2012
96d1814
Merge pull request #1007 from JackKelly/master
efiring Jul 24, 2012
0c347f3
update CHANGELOG, api_changes.rst for new handling of extend kwarg
efiring Jul 24, 2012
967c15a
Merge pull request #1022 from efiring/contourf_extend
efiring Jul 24, 2012
d30d57c
Added more configuration options.
lordnapi Jul 27, 2012
e8a18a1
Docstring revised, working dir added to sys.path
lordnapi Jul 27, 2012
72a8ec4
Handling potential plot_working_directory errors
lordnapi Jul 27, 2012
6533674
Variable "window" instead of "aWindow"
gellule Jul 28, 2012
09e7dd2
Merge pull request #1042 from abakan/master
WeatherGod Jul 28, 2012
068cad2
Merge pull request #1036 from gellule/master
WeatherGod Jul 28, 2012
b8dde01
Review action.
pelson Jul 28, 2012
5675ffa
Merged #819: dmcdougall's stackplot
pelson Jul 28, 2012
8c0d1fb
Enable building on Python 3.3 for Windows
cgohlke Jul 29, 2012
6256889
Tkinter logo added.
May 22, 2012
25df1bb
Checked gtk backend & simplified some icon related code.
May 23, 2012
c382f60
Removed created icons in favour of pre-existing ones. Tried, unsucces…
May 24, 2012
427ce52
Added gif logo. Fixed typo.
May 24, 2012
c156ce3
added gifs to the package_data in setup.py.
May 24, 2012
1706dd3
Added a try/except to the tk icon setting.
pelson Jun 20, 2012
7e14561
Merge pull request #1047 from cgohlke/patch-1
pelson Jul 30, 2012
4328647
Update examples/user_interfaces/embedding_in_wx2.py
vbr Jul 31, 2012
a599ce7
Update examples/user_interfaces/embedding_in_wx4.py
vbr Jul 31, 2012
5d486dc
Update examples/user_interfaces/mathtext_wx.py
vbr Jul 31, 2012
8ac4b00
Update examples/user_interfaces/wxcursor_demo.py
vbr Jul 31, 2012
4765726
Merge pull request #1052 from vbr/patch-4
mdboom Jul 31, 2012
772d2c9
Merge pull request #1051 from vbr/patch-3
mdboom Jul 31, 2012
c572637
Merge pull request #1050 from vbr/patch-2
mdboom Jul 31, 2012
792972d
Merge pull request #1049 from vbr/patch-1
mdboom Jul 31, 2012
4b08cf1
Move Python 3 import of reload() to the module that uses it.
takluyver Aug 1, 2012
bd5ca33
Merge pull request #1053 from takluyver/move_py3k_reload
WeatherGod Aug 1, 2012
2ded37a
Merge pull request #897 from pelson/gui_icon
WeatherGod Aug 1, 2012
797940f
Merge pull request #960 from pelson/issue_909
WeatherGod Aug 3, 2012
84524eb
Reinstate the manual reference counting as discovered in #1054.
mdboom Aug 3, 2012
1456f05
Merge pull request #778 from mdboom/tests-faster
pelson Aug 5, 2012
9bba573
Document how test caching works
mdboom Aug 6, 2012
9229a5c
Completely remove some commented out code.
mdboom Aug 6, 2012
1e5e687
Merge pull request #1056 from mdboom/test-cleanups
pelson Aug 6, 2012
1bf4dde
update contour_hatching test images for change caused by #1022
efiring Aug 6, 2012
8c582e4
colors: avoid problems with bad values under the mask when color mapping
efiring Aug 6, 2012
9cba6fb
contour: clarify and improve support for norm.vmin, norm.vmax
efiring Aug 1, 2012
f5c85d8
contour: support vmin, vmax kwargs for consistency with pcolor etc.
efiring Aug 6, 2012
413581c
colorbar: improve handling of manually-set vmin, vmax in contourf, co…
efiring Aug 7, 2012
0890246
colorbar: allow more than one set of contour line marks
efiring Aug 7, 2012
50ae794
Fix pythonxy link
mdboom Aug 9, 2012
41822d5
Merge pull request #1057 from efiring/contour_norm_scaling
efiring Aug 11, 2012
38ba658
Merge branch 'multiaxes_colorbar' of git://github.com/pelson/matplotl…
efiring Aug 11, 2012
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
Change generated filenames. Put the phrases "expected" and "failed-di…
…ff" toward the end of the filename so files are more appropriately grouped when viewed in file managers and thumbnail tools (eg. gthumb)
  • Loading branch information
mdboom committed Jun 13, 2012
commit b58aa94160ea98bde97edb6ec0d17a905760162b
12 changes: 10 additions & 2 deletions 12 lib/matplotlib/testing/compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@
]

#-----------------------------------------------------------------------

def make_test_filename(fname, purpose):
"""
Make a new filename by inserting `purpose` before the file's
extension.
"""
base, ext = os.path.splitext(fname)
return '%s-%s%s' % (base, purpose, ext)

def compare_float( expected, actual, relTol = None, absTol = None ):
"""Fail if the floating point values are not close enough, with
the givem message.
Expand Down Expand Up @@ -232,8 +241,7 @@ def compare_images( expected, actual, tol, in_decorator=False ):
rms += np.sum(np.power((h1h-h2h), 2))
rms = np.sqrt(rms / (256 * 3))

diff_image = os.path.join(os.path.dirname(actual),
'failed-diff-'+os.path.basename(actual))
diff_image = make_test_filename(actual, 'failed-diff')

if ( (rms / 10000.0) <= tol ):
if os.path.exists(diff_image):
Expand Down
9 changes: 6 additions & 3 deletions 9 lib/matplotlib/testing/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
from matplotlib import pyplot as plt
from matplotlib import ft2font
import numpy as np
from matplotlib.testing.compare import comparable_formats, compare_images
from matplotlib.testing.compare import comparable_formats, compare_images, \
make_test_filename
import warnings

def knownfailureif(fail_condition, msg=None, known_exception_class=None ):
Expand Down Expand Up @@ -114,7 +115,8 @@ def test(self):
orig_expected_fname = os.path.join(baseline_dir, baseline) + '.' + extension
if extension == 'eps' and not os.path.exists(orig_expected_fname):
orig_expected_fname = os.path.join(baseline_dir, baseline) + '.pdf'
expected_fname = os.path.join(result_dir, 'expected-' + os.path.basename(orig_expected_fname))
expected_fname = make_test_filename(os.path.join(
result_dir, os.path.basename(orig_expected_fname)), 'expected')
actual_fname = os.path.join(result_dir, baseline) + '.' + extension
if os.path.exists(orig_expected_fname):
shutil.copyfile(orig_expected_fname, expected_fname)
Expand All @@ -128,7 +130,8 @@ def test(self):
def do_test():
figure.savefig(actual_fname)

err = compare_images(expected_fname, actual_fname, self._tol, in_decorator=True)
err = compare_images(expected_fname, actual_fname,
self._tol, in_decorator=True)

try:
if not os.path.exists(expected_fname):
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.