Hi,
I draw four subplots that touch each other. Thus the "middle cross" of the
frame is drawn twice and appears to be thicker then the "outer rectangle". I
came across an old post for an custom Axes that would allow to only draw
part of the frame
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg10242.html
However, when I run the example provided I get an "can't set attribute
error" (see traceback below). I use Python 2.7.1 |EPD 7.0-1 (32-bit) on Mac
OS 10.5.8, which includes matplotlib version 1.0.1.
Is there a fix to get the custom class running again, or is there an
alternative way to achieve what I intend?
Thanks a lot,
Markus
Traceback (most recent call last):
File "frametest.py", line 165, in <module>
ax = plt.subplot(sub, projection='frameaxes')
File
"/Library/Frameworks/Python.framework/Versions/7.0/lib/python2.7/site-packages/matplotlib/pyplot.py",
line 658, in subplot
a = fig.add_subplot(*args, **kwargs)
File
"/Library/Frameworks/Python.framework/Versions/7.0/lib/python2.7/site-packages/matplotlib/figure.py",
line 687, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File
"/Library/Frameworks/Python.framework/Versions/7.0/lib/python2.7/site-packages/matplotlib/axes.py",
line 8380, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File
"/Library/Frameworks/Python.framework/Versions/7.0/lib/python2.7/site-packages/matplotlib/axes.py",
line 459, in __init__
self.cla()
File "frametest.py", line 138, in cla
self.frame = self._frame
AttributeError: can't set attribute
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users