In list_plot there's some confusion with the pointsize and thickness
keyword arguments.

These 2 commands run just fine.
list_plot([(0,0),(1,1)],thickness = 20,plotjoined = true)
list_plot([(0,0),(1,1)],pointsize = 20,plotjoined = false)

This one runs but ignores thickness and gives you a warning saying
that it is ignoring thickness.
list_plot([(0,0),(1,1)],thickness = 20,plotjoined = false)

This one doesn't run at all but gives you an invalid option error.

This behavior is needlessly finnicky, especially when writing
functions that call list_plot with user supplied parameters. For
example, this method would fail half of the time.

def foo(size,joined):
    return list_plot(mydata,pointsize = size, plotjoined = joined)

My first thought for a fix was to make the arguments interchangable,
ie thickness = 5 and pointsize = 5 would do the same thing in both
joined and discrete plots. However, they don't actually behave the
same. For example, the line drawn with thickness = 20 is much thicker
than a point with pointsize = 20. Therefore, if they were to be merged
in some way what would be the best way to go about it?

Ethan Van Andel

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to