---
** [feature-requests:#6] linkedaxis defaults if axes is changed. **
**Status:** open
**Created:** Mon Jan 28, 2013 09:52 AM UTC by Jorge Leitão
**Last Updated:** Mon Jan 28, 2013 09:52 AM UTC
**Owner:** nobody
<b>Problem:</b> On a graph, the opposite line of an axes don't change when
basepathattrs are changed on a graph.axis.painter. This is unlikely what most
users would like, as for instance it causes different sides of the graph to
have different line attributes (if a user increases line width of the axes,
he/she expects the same to be done, by default, on the other side of the graph).
<b>Reason:</br> the attributes of axies.painter are not passed to
axis.linkpainter in creation of axis. In particular, the class _regularaxis
initializes as
def __init__(self, min=None, max=None, reverse=0, divisor=None, title=None,
painter=painter.regular(), texter=texter.mixed(),
linkpainter=painter.linked(),
density=1, maxworse=2, manualticks=[], fallbackrange=None):
...
causing the painter's attributes not to be passed to the linkpainter, but
rather a simple creation of a painter.linked().
<b>Proposal:</b> make some of the attributes of _regularaxis.painter to be
passed to _regularaxis.linkpainter during initialization of _regularaxis. This
behavior is also found on other programs, e.g. xmgrace.
<b>Discussion:</b> Because not all of the attributes would likely (by most
users) be passed to the linked painter (e.g. outerticklength is not so useful
if the axes has no labels by default), I propose the following minimal set of
attributes to be passed:
innerticklength
tickattrs
basepathattrs
---
Sent from sourceforge.net because you indicated interest in
<https://sourceforge.net/p/pyx/feature-requests/6/>
To unsubscribe from further messages, please visit
<https://sourceforge.net/auth/prefs/>------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
PyX-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-devel