[sage-devel] Re: Plots in plot.py documentation
work done. changed status to needs review. El jueves, 21 de enero de 2016, 20:45:31 (UTC+1), jhonrubia6 escribió: > > Does it makes sense to you if I modify the plot.py docstrings in order to > include PLOT:: blocks? Wouldn't it be more clear for newbies? (well it wold > have helped me anyway) > Has it been discussed? > Javier > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Plots in plot.py documentation
Hi, new two problems. 1) GraphicsArray does not have a plot() method, so I added one in my local copy and everything went ok on examples like show(graphics_array([g1, g2], 2, 1), xmin=0) Is it ok to include the patch in this ticket or should I open a new one? 2) I cannot find a way to emulate g.show(ticks=pi/6, tick_formatter=pi) I tried with g._matplotlib_tick_formatter(subplot,ticks=(pi,None), tick_formatter=(pi, None),xmax=10,xmin=0,ymax=10,ymin=0) sphinx_plot(g) but it does not render the pi symbol on the x axis Any ideas on this? (I move on meanwhile) El jueves, 21 de enero de 2016, 20:45:31 (UTC+1), jhonrubia6 escribió: > > Does it makes sense to you if I modify the plot.py docstrings in order to > include PLOT:: blocks? Wouldn't it be more clear for newbies? (well it wold > have helped me anyway) > Has it been discussed? > Javier > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Plots in plot.py documentation
forget it. It has some problems with list comprehension with real numbers (e.g. sum(circle((i,0), i, hue=sin(i/10)) for i in [10,9.9,..,0]) ) but I can work around it with more code. El lunes, 25 de enero de 2016, 20:19:46 (UTC+1), jhonrubia6 escribió: > > It seems that the option *hue* does not work properly inside the PLOT > block rendering one-color plots, so the graphics do not correspond to the > code, I think it's better in this case to not show them, as it would be > misleading. > What do you think? > > El domingo, 24 de enero de 2016, 19:51:34 (UTC+1), jhonrubia6 escribió: >> >> Ok. http://trac.sagemath.org/19953 created, working on it. >> >> El jueves, 21 de enero de 2016, 20:45:31 (UTC+1), jhonrubia6 escribió: >>> >>> Does it makes sense to you if I modify the plot.py docstrings in order >>> to include PLOT:: blocks? Wouldn't it be more clear for newbies? (well it >>> wold have helped me anyway) >>> Has it been discussed? >>> Javier >>> >> -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Plots in plot.py documentation
It seems that the option *hue* does not work properly inside the PLOT block rendering one-color plots, so the graphics do not correspond to the code, I think it's better in this case to not show them, as it would be misleading. What do you think? El domingo, 24 de enero de 2016, 19:51:34 (UTC+1), jhonrubia6 escribió: > > Ok. http://trac.sagemath.org/19953 created, working on it. > > El jueves, 21 de enero de 2016, 20:45:31 (UTC+1), jhonrubia6 escribió: >> >> Does it makes sense to you if I modify the plot.py docstrings in order to >> include PLOT:: blocks? Wouldn't it be more clear for newbies? (well it wold >> have helped me anyway) >> Has it been discussed? >> Javier >> > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Plots in plot.py documentation
Ok. http://trac.sagemath.org/19953 created, working on it. El jueves, 21 de enero de 2016, 20:45:31 (UTC+1), jhonrubia6 escribió: > > Does it makes sense to you if I modify the plot.py docstrings in order to > include PLOT:: blocks? Wouldn't it be more clear for newbies? (well it wold > have helped me anyway) > Has it been discussed? > Javier > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Plots in plot.py documentation
On Thursday, January 21, 2016 at 1:45:31 PM UTC-6, jhonrubia6 wrote: > > Does it makes sense to you if I modify the plot.py docstrings in order to > include PLOT:: blocks? Wouldn't it be more clear for newbies? (well it wold > have helped me anyway) > Has it been discussed? > Javier > I believe the plot.py still contains some very old code and documentation (git blame says there are lines back from 2006 and a lot of it is even pre-2010). Whereas the PLOT:: block functionality is much newer than that, less than a year old (a thank you to Nathann, Johnm and Thierry). +1 for doing it. Best, Travis -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.