Changeset 4482


Ignore:
Timestamp:
Jun 12, 2020 9:06:19 AM (3 years ago)
Author:
toby
Message:

2nd mpl.cm.ScalarMappable?() fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r4480 r4482  
    29112911    mpl.rcParams['image.cmap'] = G2frame.ContourColor
    29122912    mcolors = mpl.cm.ScalarMappable()       #wants only default as defined in previous line!!
     2913    mcolors.set_array([]) # needed for MPL <=3.0.x
    29132914    if G2frame.Contour:
    29142915        ContourZ = []
Note: See TracChangeset for help on using the changeset viewer.