Changeset 4565


Ignore:
Timestamp:
Sep 9, 2020 4:27:24 PM (3 years ago)
Author:
vondreele
Message:

fix mpl 3.03 error message
shift XY2 colors by one in PlotXY - avoids 2 blue curves

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r4552 r4565  
    564564            if mplv[1] >= 3:
    565565                page.set_box_aspect((1,1,1))
     566            elif mplv == [3,0,3]:
     567                pass
    566568            elif not self.MPLwarn: # patch for bad MPL 3D
    567569                self.MPLwarn = True
     
    49404942                dY = Page.Offset[1]*(ixy+1)*Ymax/100.
    49414943                if len(names2):
    4942                     Plot.plot(X+dX,Y+dY,colors[ixy%NC],picker=False,label=names2[ixy])
     4944                    Plot.plot(X+dX,Y+dY,colors[(ixy+1)%NC],picker=False,label=names2[ixy])
    49434945                else:
    4944                     Plot.plot(X+dX,Y+dY,colors[ixy%NC],picker=False)
     4946                    Plot.plot(X+dX,Y+dY,colors[(ixy+1)%NC],picker=False)
    49454947        if len(names):
    49464948            Plot.legend(names,loc='best')
Note: See TracChangeset for help on using the changeset viewer.