Let me know if this is not the appropriate way to report bugs.
Here is the example code:
import numpy as N
import matplotlib
matplotlib.use("TkAgg")
import pylab as PLT
x = N.array([1.,2.,3.,4.,5.])
y = N.array([2.2,3.3,4.4,5.5,6.6])
PLT.figure(1)
PLT.clf()
PLT.hold(False)
PLT.plot(x,y,'+',color='k',linestyle='--')
***Symbol is blue (wrong), line is dashed and black (right)
PLT.plot(x,y,'+',color=[0,0,0],linestyle='--')
***Same error as above
PLT.plot(x,y,'+r',linestyle='--')
***Works correctly (symbol and line are red)
PLT.axis([0.0,6.0,0.0,7.0])
PLT.xlabel('X Label',fontsize=18)
PLT.ylabel('Y label',fontsize=18)
PLT.title('TITLE',fontsize=24)
PLT.hold(True)
PLT.plot(x+0.1,y-0.2,'+r')
***ERROR: resets axis limits (is this an error? Note hold is on)
PLT.axis([0.0,6.0,0.0,7.0])
***Restores manual axes limits
matplotlib.__version__
'0.87.2'
N.__version__
'0.9.6'
-Tony
···
--
Tony Mannucci
Supervisor, Ionospheric and Atmospheric Remote Sensing Group
Mail-Stop 138-308, Tel > (818) 354-1699
Jet Propulsion Laboratory, Fax > (818) 393-5115
California Institute of Technology, Email > Tony.Mannucci@...369...
4800 Oak Grove Drive, http://genesis.jpl.nasa.gov
Pasadena, CA 91109