Changeset db6e599 in fipy
- Timestamp:
- 09/12/14 23:45:09 (5 months ago)
- Branches:
- ticket672-matplotlib-1_4_0-error
- Parents:
- 08d564f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fipy/viewers/matplotlibViewer/matplotlibViewer.py
r50dd6ad rdb6e599 193 193 # following gives a basic continuous colorbar with ticks 194 194 # and labels. 195 self._cb = matplotlib.colorbar.ColorbarBase(cbax, cmap=viewer.cmap, 195 import matplotlib.colors as colors 196 norm = colors.Normalize(vmin=vmin, vmax=vmax) 197 self._cb = matplotlib.colorbar.ColorbarBase(cbax, norm=norm, cmap=viewer.cmap, 196 198 orientation=orientation) 197 199 self._cb.set_label(viewer.vars[0].name)
Note: See TracChangeset
for help on using the changeset viewer.