dashtick.py example broken

Hi,

Was just looking through the examples and noticed that pylab_examples/dashtick.py does not work here for me on SVN head.

Traceback (most recent call last):
   File "dashtick.py", line 61, in <module>
     test_dashticklabel()
   File "dashtick.py", line 40, in test_dashticklabel
     fontsize=FONTSIZE,
   File "/home/rmay/.local/lib64/python2.5/site-packages/matplotlib/pyplot.py", line 162, in setp
     ret = _setp(*args, **kwargs)
   File "/home/rmay/.local/lib64/python2.5/site-packages/matplotlib/artist.py", line 982, in setp
     func = getattr(o,funcName)
AttributeError: 'Text' object has no attribute 'set_dashrotation'

I'm clueless on this code, so this is just an FYI.

Ryan

···

--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma

TextWithDash is still used on the maintenance branch for tick labels,
but no longer on the trunk. I suspect it did not work with the
arbitrary projections Michael developed support for and he removed it,
but Michael can confirm. The code is poorly maintained, so I am happy
to see it no longer in the core tick labeling. I have removed the
example from svn.

···

On Mon, Dec 8, 2008 at 4:19 PM, Ryan May <rmay31@...149...> wrote:

Hi,

Was just looking through the examples and noticed that pylab_examples/dashtick.py
does not work here for me on SVN head.

Traceback (most recent call last):
  File "dashtick.py", line 61, in <module>
    test_dashticklabel()
  File "dashtick.py", line 40, in test_dashticklabel
    fontsize=FONTSIZE,
  File "/home/rmay/.local/lib64/python2.5/site-packages/matplotlib/pyplot.py",
line 162, in setp
    ret = _setp(*args, **kwargs)
  File "/home/rmay/.local/lib64/python2.5/site-packages/matplotlib/artist.py",
line 982, in setp
    func = getattr(o,funcName)
AttributeError: 'Text' object has no attribute 'set_dashrotation'

I'm clueless on this code, so this is just an FYI.