#18004: Too small relative size of axes labels w.r.t. tick marks in 2D plots
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  egourgoulhon           |       Status:  needs_info
           Type:         |    Milestone:  sage-6.6
  defect                 |   Resolution:
       Priority:  major  |    Merged in:
      Component:         |    Reviewers:  Vincent Delecroix
  graphics               |  Work issues:
       Keywords:         |       Commit:
  days64                 |  10b69240dfceaec610564bb26e2ab7eb1a4a5b45
        Authors:  Eric   |     Stopgaps:
  Gourgoulhon            |
Report Upstream:  N/A    |
         Branch:         |
  public/18004           |
   Dependencies:         |
-------------------------+-------------------------------------------------

Comment (by egourgoulhon):

 Replying to [comment:12 vdelecroix]:
 > Replying to [comment:11 egourgoulhon]:
 > > Replying to [comment:10 vdelecroix]:
 > > >
 > > > > Shall we correct it as well, although this does not pertain to the
 current ticket ?
 > > >
 > > > Sure. Do it at the same time.
 > >
 > > A systematic search for `AttributeError` in graphics.py reveals that
 the same issue occurs for the attributes
 > > `_show_axes`, `_axes_color`, `_axes_label_color`, `_axes_width` and
 `_tick_label_colors`.
 > > So I guess we shall correct these as well?... The only possible
 justification is that the current implementation is more robust in case of
 a derived class of `Graphics`, `A` let us say, such that `A.__init__()`
 does not call `Graphics.__init__()` (but this is bad design IMHO).
 >
 > Right. The simplest would be to let it as you initially did... sorry.

 OK.
 Btw note that the case of `_axes_width` looks strange: in
 `Graphics.__init__()`, one has
 {{{
         self._axes_width = 0.8
 }}}
 while in `Graphics.axes_width()` there is
 {{{
             try:
                 return self._axes_width
             except AttributeError:
                 self._axes_width = True
                 return self._axes_width
 }}}
 Shouldn't it be there `self._axes_width = 0.8` for consistency ?

 Eric.


 >
 > Vincent

--
Ticket URL: <http://trac.sagemath.org/ticket/18004#comment:13>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to