From: Andrea G. <and...@gm...> - 2008-06-27 11:37:04
|
Hi All, I have switched from matplotlib 0.91.2 to 0.98.1, and I have noticed a couple of "strange" behaviours (I am not using PyLab, but matplotlib embedded in wxPython): 1) If I use: ylims = self.myAxis.get_ylim() And then I add other lines to the plot, the value of ylims is modified. It gets modified even if I use something like this: ylims = self.myAxis.get_ylim()[:] The only way of keeping the ylims list untouched by other plotting commands I have to do this: ylims = copy.deepcopy(self.leftaxis.get_ylim()) Which is a bit of an overkill. See the attached Python script for an example. This did not happen before in 0.91.2. 2) The dashed text positioning is wrong, you can see it by running dashpointlabel.py in the matplotlib_examples_0.98.1\examples\pylab_examples: the position of the values should be at the other end of the dash, not over the plotted point. Am I missing something? Thank you for your suggestions. Andrea. "Imagination Is The Only Weapon In The War Against Reality." http://xoomer.alice.it/infinity77/ |