Changeset 4480


Ignore:
Timestamp:
Jun 10, 2020 9:27:35 PM (3 years ago)
Author:
toby
Message:

fix colormap problem w/3.0.x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r4479 r4480  
    50835083    mpl.rcParams['image.cmap'] = G2frame.ContourColor
    50845084    mcolors = mpl.cm.ScalarMappable()       #wants only default as defined in previous line!!
     5085    mcolors.set_array([]) # needed for MPL <=3.0.x
    50855086    X0 = Y0 = Z0 = np.zeros_like(X)
    50865087    icolor = R/90.
Note: See TracChangeset for help on using the changeset viewer.