Re: [sage-devel] Re: default ellipse color

2014-10-05 Thread William Stein
On Fri, Oct 3, 2014 at 5:21 AM, kcrisman wrote: > WebGL is available on the latest versions of all major browsers (even >> mobile), though with some minor issues: >> >>http://caniuse.com/#feat=webgl >> >> 2d Canvas is solidly available on all modern browsers: >> >>http://caniuse.com/#feat

Re: [sage-devel] Re: default ellipse color

2014-10-05 Thread Volker Braun
Fixed, I rewrote the base64-conversion php script in flask/python at https://github.com/sagemath/sagenb/pull/241 -- You received this message because you are subscribed to the Google Gr

Re: [sage-devel] Re: default ellipse color

2014-10-03 Thread kcrisman
> > WebGL is available on the latest versions of all major browsers (even > mobile), though with some minor issues: > >http://caniuse.com/#feat=webgl > > 2d Canvas is solidly available on all modern browsers: > >http://caniuse.com/#feat=canvas > > Hence at least the 3d in SageMathClou

Re: [sage-devel] Re: default ellipse color

2014-10-02 Thread William A Stein
On Wed, Oct 1, 2014 at 10:47 PM, kcrisman wrote: >>> Another 3d-plotting direction is the webgl-enabled JSmol, which is >>> actually pretty. It would be easy enough to integrate, though right now the >>> upgrade is stuck in he java applet mud ;-) >>> >>> > > Keeping in mind that I'm talking about

Re: [sage-devel] Re: default ellipse color

2014-10-01 Thread kcrisman
> > Another 3d-plotting direction is the webgl-enabled JSmol, which is >> actually pretty. It would be easy enough to integrate, though right now the >> upgrade is stuck in he java applet mud ;-) >> >> >> Keeping in mind that I'm talking about the non-webgl one, I guess? But not everyone knows

Re: [sage-devel] Re: default ellipse color

2014-10-01 Thread kcrisman
> > Another 3d-plotting direction is the webgl-enabled JSmol, which is > actually pretty. It would be easy enough to integrate, though right now the > upgrade is stuck in he java applet mud ;-) > > > Totes. But the version currently at #16004 isn't held up by java, but by different browsers no

Re: [sage-devel] Re: default ellipse color

2014-10-01 Thread Volker Braun
Another 3d-plotting direction is the webgl-enabled JSmol, which is actually pretty. It would be easy enough to integrate, though right now the upgrade is stuck in he java applet mud ;-) -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubsc

Re: [sage-devel] Re: default ellipse color

2014-10-01 Thread kcrisman
> > > This apparently just hasn't made the news cycle. I finally opened an > > upstream ticket at https://github.com/sagemath/sagenb/issues/239 > > > > If it makes you feel better, your idea to go to `colorpicker` as default > in > > Trac 9000 was good, because that DOES work. Apparently

Re: [sage-devel] Re: default ellipse color

2014-10-01 Thread William A Stein
On Wed, Oct 1, 2014 at 8:55 AM, kcrisman wrote: >> > Here is yet another bug. It seems that in Sage-5.0.beta.x with the >> > new notebook code, the default color picker interact control is >> > completely broken. For me, this doesn't work at all: >> > >> > @interact >> > def f(n=Color('red')): >

[sage-devel] Re: default ellipse color

2014-10-01 Thread kcrisman
> > > Here is yet another bug. It seems that in Sage-5.0.beta.x with the > > new notebook code, the default color picker interact control is > > completely broken. For me, this doesn't work at all: > > > > @interact > > def f(n=Color('red')): > > print n > > Hah, finally one I definit

[sage-devel] Re: default ellipse color

2012-03-14 Thread kcrisman
On Feb 27, 3:24 pm, kcrisman wrote: > On Feb 27, 1:31 pm, William Stein wrote: > > > Hi, > > > Why is the default color for an ellipse (and circle) *black*, whereas > > the default color for (msot) everything else (even text) is blue? > > The default color for circles *was* blue when they were

Re: [sage-devel] Re: default ellipse color

2012-03-02 Thread William Stein
Hi, Continuing with this thread, I'm preparing a lecture on 3d graphics today. I only ran into one similar inconsistency/issue! * bezier3d -- the default color is "red", but it should be the same as for all other plots (i.e., that blueish). The documentation also has this line: - ``c

[sage-devel] Re: default ellipse color

2012-02-29 Thread Jason Grout
On 2/29/12 9:30 AM, William Stein wrote: Do you know how to change the default figure size? This is one way: import matplotlib as mpl mpl.rcParams['figure.figsize'] = [20,1] I agree that we should wrap this so people don't have to import matplotlib. Jason -- To post to this group, send an

[sage-devel] Re: default ellipse color

2012-02-29 Thread Jason Grout
On 2/29/12 11:52 AM, William Stein wrote: On Wed, Feb 29, 2012 at 5:30 AM, Jason Grout wrote: IIRC, the idea was to rely more on matplotlib, and the default ways to configure matplotlib (which includes setting the default figure size). IIRC, It seemed that the default matplotlib figure size wa

[sage-devel] Re: default ellipse color

2012-02-29 Thread kcrisman
On Feb 29, 12:52 pm, William Stein wrote: > On Wed, Feb 29, 2012 at 5:30 AM, Jason Grout > > wrote: > > IIRC, the idea was to rely more on matplotlib, and the default ways to > > configure matplotlib (which includes setting the default figure size). IIRC, > > It seemed that the default matplotl

[sage-devel] Re: default ellipse color

2012-02-29 Thread kcrisman
> > This has been in since Sage 4.7.2, though.   There is no longer a > > default FIGSIZE - it is None, and Jason pretty clearly intended to > > make that go away if you read the patch at #2100, which I'm sure made > > sense to all of us at the time, not that I can figure out why now. > > I'm not

Re: [sage-devel] Re: default ellipse color

2012-02-29 Thread William Stein
On Feb 29, 2012 5:30 AM, "Jason Grout" wrote: > > On 2/28/12 10:01 PM, kcrisman wrote: >> >> >> >> On Feb 27, 2:19 pm, William Stein wrote: >>> >>> On Mon, Feb 27, 2012 at 10:42 AM, William Stein wrote: On Mon, Feb 27, 2012 at 10:31 AM, William Stein wrote: > > Hi, >>> >>> >>>

[sage-devel] Re: default ellipse color

2012-02-29 Thread Jason Grout
On 2/28/12 10:01 PM, kcrisman wrote: On Feb 27, 2:19 pm, William Stein wrote: On Mon, Feb 27, 2012 at 10:42 AM, William Stein wrote: On Mon, Feb 27, 2012 at 10:31 AM, William Stein wrote: Hi, Why is the default color for an ellipse (and circle) *black*, whereas the default color for (m

[sage-devel] Re: default ellipse color

2012-02-28 Thread kcrisman
On Feb 27, 2:19 pm, William Stein wrote: > On Mon, Feb 27, 2012 at 10:42 AM, William Stein wrote: > > On Mon, Feb 27, 2012 at 10:31 AM, William Stein wrote: > >> Hi, > > >> Why is the default color for an ellipse (and circle) *black*, whereas > >> the default color for (msot) everything else (

Re: [sage-devel] Re: default ellipse color

2012-02-27 Thread William Stein
On Mon, Feb 27, 2012 at 8:02 PM, Jason Grout wrote: > On 2/27/12 12:31 PM, William Stein wrote: >> >> Hi, >> >> Why is the default color for an ellipse (and circle) *black*, whereas >> the default color for (msot) everything else (even text) is blue? > > > I had hoped to spend some of my UTMOST ti

[sage-devel] Re: default ellipse color

2012-02-27 Thread William Stein
On Mon, Feb 27, 2012 at 6:42 PM, Karl-Dieter Crisman wrote: > William, > > It would be great to have that specific info.  I would make this very > high priority to fix, but I really have no idea what you are talking > about yet (in terms of where this happened, not what the effects are). > > Also,

[sage-devel] Re: default ellipse color

2012-02-27 Thread Jason Grout
On 2/27/12 12:31 PM, William Stein wrote: Hi, Why is the default color for an ellipse (and circle) *black*, whereas the default color for (msot) everything else (even text) is blue? I had hoped to spend some of my UTMOST time this summer overhauling graphics, making things consistent, cleanin

Re: [sage-devel] Re: default ellipse color

2012-02-27 Thread William Stein
On Mon, Feb 27, 2012 at 12:31 PM, William Stein wrote: > On Mon, Feb 27, 2012 at 12:27 PM, kcrisman wrote: >> >> >> On Feb 27, 2:58 pm, William Stein wrote: >>> Here is yet another bug.  It seems that in Sage-5.0.beta.x with the >>> new notebook code, the default color picker interact control is

Re: [sage-devel] Re: default ellipse color

2012-02-27 Thread D. S. McNeil
>> sage: x,y = var('x y') >> sage: plot_slope_field(sin(x+y)+cos(x+y), (x,-3,3), (y,-3,3)) >> >> I think the documentation should explain the warnings, or the example >> should be changed, right? > > This happens to be a known numpy bug.  See: > > http://trac.sagemath.org/sage_trac/ticket/11208 > >

[sage-devel] Re: default ellipse color

2012-02-27 Thread kcrisman
On Feb 27, 3:27 pm, William Stein wrote: > Here is another bug: > > sage: g = graphics_array([plot(sin)]) > sage: g.show() > # works fine > sage: g.show(figsize=4) > # boom -- an incomprehensible error message too: > Traceback (click to the left of this block for traceback) > ... > TypeError: 's

[sage-devel] Re: default ellipse color

2012-02-27 Thread kcrisman
On Feb 27, 3:06 pm, William Stein wrote: > Hi, > > Here's yet another plotting bug. > > This works fine: > > sage: bar_chart([3, 4, pi]) > > But this doesn't!? > > sag: bar_chart([3, 4, pi^2]) > Traceback (click to the left of this block for traceback) > ... > TypeError: function not supported f

[sage-devel] Re: default ellipse color

2012-02-27 Thread kcrisman
On Feb 27, 2:50 pm, William Stein wrote: > Here's another graphics bug: > > The scatter_plot command can't take as input the standard Sage Color > object (e.g., as used by @interact and all other graphics objects, as > far as I know): > > sage: scatter_plot([(0,0)], marker='p', facecolor=Color('

Re: [sage-devel] Re: default ellipse color

2012-02-27 Thread William Stein
On Mon, Feb 27, 2012 at 12:27 PM, kcrisman wrote: > > > On Feb 27, 2:58 pm, William Stein wrote: >> Here is yet another bug.  It seems that in Sage-5.0.beta.x with the >> new notebook code, the default color picker interact control is >> completely broken.  For me, this doesn't work at all: >> >>

Re: [sage-devel] Re: default ellipse color

2012-02-27 Thread William Stein
Here is another bug: sage: g = graphics_array([plot(sin)]) sage: g.show() # works fine sage: g.show(figsize=4) # boom -- an incomprehensible error message too: Traceback (click to the left of this block for traceback) ... TypeError: 'sage.rings.integer.Integer' object does not support indexing O

[sage-devel] Re: default ellipse color

2012-02-27 Thread kcrisman
On Feb 27, 2:58 pm, William Stein wrote: > Here is yet another bug.  It seems that in Sage-5.0.beta.x with the > new notebook code, the default color picker interact control is > completely broken.  For me, this doesn't work at all: > > @interact > def f(n=Color('red')): >     print n Hah, fina

[sage-devel] Re: default ellipse color

2012-02-27 Thread kcrisman
On Feb 27, 3:18 pm, William Stein wrote: > When I try this plot command from the documentation it prints many > scary warnings: > > sage: x,y = var('x y') > sage: plot_slope_field(sin(x+y)+cos(x+y), (x,-3,3), (y,-3,3)) > > I think the documentation should explain the warnings, or the example > s

Re: [sage-devel] Re: default ellipse color

2012-02-27 Thread William Stein
When I try this plot command from the documentation it prints many scary warnings: sage: x,y = var('x y') sage: plot_slope_field(sin(x+y)+cos(x+y), (x,-3,3), (y,-3,3)) I think the documentation should explain the warnings, or the example should be changed, right? On Mon, Feb 27, 2012 at 12:06 PM

Re: [sage-devel] Re: default ellipse color

2012-02-27 Thread William Stein
Hi, Here's yet another plotting bug. This works fine: sage: bar_chart([3, 4, pi]) But this doesn't!? sag: bar_chart([3, 4, pi^2]) Traceback (click to the left of this block for traceback) ... TypeError: function not supported for these types, and can't coerce safely to supported types It seem

Re: [sage-devel] Re: default ellipse color

2012-02-27 Thread William Stein
Here is yet another bug. It seems that in Sage-5.0.beta.x with the new notebook code, the default color picker interact control is completely broken. For me, this doesn't work at all: @interact def f(n=Color('red')): print n It shows a transparent thing where I should have colors, and when

Re: [sage-devel] Re: default ellipse color

2012-02-27 Thread William Stein
Here's another graphics bug: The scatter_plot command can't take as input the standard Sage Color object (e.g., as used by @interact and all other graphics objects, as far as I know): sage: scatter_plot([(0,0)], marker='p', facecolor=Color('red')) boom! The workaround is to do Color('red').rgb()

[sage-devel] Re: default ellipse color

2012-02-27 Thread kcrisman
> > Another thing that seems weird to me (using sage-5.0.beta*) is that > > plots are *huge* by default.  On my rather high resolution display, > > every plot takes up the entire screen, hence is twice as big as I > > recall last time I cared.  I have to explicitly specify the figsize in > > every

[sage-devel] Re: default ellipse color

2012-02-27 Thread kcrisman
On Feb 27, 2:19 pm, William Stein wrote: > On Mon, Feb 27, 2012 at 10:42 AM, William Stein wrote: > > On Mon, Feb 27, 2012 at 10:31 AM, William Stein wrote: > >> Hi, > > >> Why is the default color for an ellipse (and circle) *black*, whereas > >> the default color for (msot) everything else (

[sage-devel] Re: default ellipse color

2012-02-27 Thread kcrisman
On Feb 27, 1:31 pm, William Stein wrote: > Hi, > > Why is the default color for an ellipse (and circle) *black*, whereas > the default color for (msot) everything else (even text) is blue? The default color for circles *was* blue when they were factored out of plot.py three years or more ago.

[sage-devel] Re: default ellipse color

2012-02-27 Thread William Stein
On Mon, Feb 27, 2012 at 10:42 AM, William Stein wrote: > On Mon, Feb 27, 2012 at 10:31 AM, William Stein wrote: >> Hi, >> >> Why is the default color for an ellipse (and circle) *black*, whereas >> the default color for (msot) everything else (even text) is blue? > > I'm going through plot comman

[sage-devel] Re: default ellipse color

2012-02-27 Thread kcrisman
On Feb 27, 1:59 pm, William Stein wrote: > Screenshot illustrating the crazy largess of plots by default. > > > > > > > > > > On Mon, Feb 27, 2012 at 10:58 AM, William Stein wrote: > > On Mon, Feb 27, 2012 at 10:42 AM, William Stein wrote: > >> On Mon, Feb 27, 2012 at 10:31 AM, William Stein

[sage-devel] Re: default ellipse color

2012-02-27 Thread William Stein
On Mon, Feb 27, 2012 at 10:31 AM, William Stein wrote: > Hi, > > Why is the default color for an ellipse (and circle) *black*, whereas > the default color for (msot) everything else (even text) is blue? I'm going through plot commands for my class today, and there are more weird things that peopl