[sage-support] Re: selective update in @interact?

2013-12-18 Thread kcrisman
Does auto_update = False (as an interact control) provide what you need? On Wednesday, December 18, 2013 12:39:31 PM UTC-5, Fred Gruber wrote: > > Hi > Sometimes in my interact functions I have certain controls to do very > simple things like change size of an image etc which should be very fast

[sage-support] Re: plot returns an error when given a callable class

2013-12-18 Thread P Purkayastha
For now, perhaps the workaround is to use plot(lambda x: h(x)).show(xmin=0, xmax=1) Note that xmin, xmax work properly only with show when xmax < xmin. ymin, ymax work with both plot() and show() and is used to "zoom in" on the rendered graph. This is ticket http://trac.sagemath.org/ticket/13

[sage-support] updating interact control

2013-12-18 Thread Fred Gruber
I would like to change the contents of a selector depending on other controls. For example, import numpy as np c = [1,2,3] @interact def _(a =selector(c), b = slider(5, 10, default=0): global c c=np.arange(0,b) print c I would like the conten

[sage-support] Re: Sage 5.13 : R loses its graphics...

2013-12-18 Thread Volker Braun
I get the same error, btw. Your big machine machine has a better freetype or more/different fonts. The error comes from libharfbuzz, the f.d.o. OpenType shaper. Sage compiles its own freetype, but there are different compile-time features in freetype that can easily conflict with the system fre

[sage-support] Re: Sage 5.13 : R loses its graphics...

2013-12-18 Thread Emmanuel Charpentier
A couple more data points : 1) on a smaller machine (but still amd64 and Debian testing), sage 5-13 compilation from sources gave me an R spkg that **has** graphics capabilities. But for the life of me, I can't pinpoint what is installed on the small machine that enables those capabilities and

[sage-support] selective update in @interact?

2013-12-18 Thread Fred Gruber
Hi Sometimes in my interact functions I have certain controls to do very simple things like change size of an image etc which should be very fast. Other controls require more involve operations that take time. By default whenever any control is changed, sage updates everything so it can take a

[sage-support] Re: plot returns an error when given a callable class

2013-12-18 Thread Alden
Given what the patch is supposed to do, it seems like it should fix it. However, when I try to install the patch, I get the error "abort: failed to synchronize metadata for "sage/plot/plot.py". Anyway, not a huge deal, so I guess I should just wait until the patch is integrated in sage 6.1. O

[sage-support] Example given in the documentation does not work

2013-12-18 Thread Fausto A. A. Barbuto
Hello, The example given in: ~/sage-5.13/devel/sage-main/doc/output/html/en/numerical_sage/parallel_laplace_solver.html is not working. Traceback (most recent call last):root=0 File "", line 1, in File "/tmp/tmpE0k5jf/___code___.py", line 5, in size=MPI.size AttributeError: '