#9654: implicit_plot does not accept rgbcolor as keyword
-------------------------+-------------------------------------------------
       Reporter:  olazo  |        Owner:  olazo
           Type:         |       Status:  needs_review
  enhancement            |
       Priority:  minor  |    Milestone:  sage-7.3
      Component:         |   Resolution:
  graphics               |
       Keywords:         |    Merged in:
  implicit_plot          |
        Authors:  Paul   |    Reviewers:
  Masson                 |
Report Upstream:  N/A    |  Work issues:
         Branch:         |       Commit:
  u/paulmasson/9654      |  ea98638e7b5d15b9f5b32f50144d576b339c8145
   Dependencies:         |     Stopgaps:
-------------------------+-------------------------------------------------

Comment (by tscrim):

 You should raise an error if both `color` and `rgbcolor` are given akin to
 {{{
 sage: x,y = var('x,y')
 sage: plot(x^2 - 2, rgbcolor=(0,1,0), color='red')
 ---------------------------------------------------------------------------
 RuntimeError                              Traceback (most recent call
 last)
 ...
 RuntimeError: Error in line(): option 'color' not valid.
 }}}
 Although I think `RuntimeError` is not the correct error, nor should
 `plot` go through so much to error out either. However that is a separate
 issue. The correct error is a `ValueError` in this situation.

--
Ticket URL: <https://trac.sagemath.org/ticket/9654#comment:12>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to