From: Steve C. <ste...@ya...> - 2004-03-18 14:12:07
|
Hello, .matplotlibrc has: figure.figsize : 8, 6 # figure size in inches figure.dpi : 80 # figure dots per inch figure.facecolor : 0.75 # figure facecolor; 0.75 is scalar gray figure.edgecolor : w # figure edgecolor; w is white yet figure.py does not use the default figsize and dpi, it has: class Figure(Artist): def __init__(self, figsize, dpi, facecolor=rcParams['figure.facecolor'], edgecolor=rcParams['figure.edgecolor'], ): shouldn't it be something like: class Figure(Artist): def __init__(self, figsize = rcParams['figure.figsize'], dpi = rcParams['figure.dpi'], facecolor=rcParams['figure.facecolor'], edgecolor=rcParams['figure.edgecolor'], ): so it uses all the defaults and is consistent with the figure() function in matlab.py? Regards Steve |