Changeset 17160
- Timestamp:
- 01/22/14 16:49:44 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/applyoptions.py
r16162 r17160 1 1 try: 2 2 from matplotlib.ticker import MaxNLocator 3 from mpl_toolkits.axes_grid1 import make_axes_locatable 4 import matplotlib as mpl 3 5 import pylab as p 4 6 except ImportError: … … 176 178 ax = p.gca() 177 179 divider = make_axes_locatable(ax) 178 cax = divider.new_horizontal("5%", pad=0.05, axes_class=m axes.Axes)180 cax = divider.new_horizontal("5%", pad=0.05, axes_class=mpl.axes.Axes) 179 181 fig.add_axes(cax) 180 182 cmap = mpl.cm.jet
Note:
See TracChangeset
for help on using the changeset viewer.