Re: [sage-devel] Error compiling sagelib-10.2 with --enable-system-site-packages

2024-01-16 Thread Niranjana K M
> > > FWIW we're about to get GAP in Gentoo: > > https://github.com/gentoo/gentoo/pull/34472 > > And then the only system packages that are missing are PALP and a few > databases. Everything else can be detected and used by Sage, and that > should speed up a clean build by a lot. I would still

Re: [sage-devel] Error compiling sagelib-10.2 with --enable-system-site-packages

2024-01-13 Thread Niranjana K M
. It is preferring old local spkg installs, if already present, than new versions in system. But if it is spkg only it is going for update. Is it needed to be fixed or is it usual? On Sat, 13 Jan 2024, 1:26 am Michael Orlitzky, wrote: > On Fri, 2024-01-12 at 09:25 -0800, Niranjana K M wrote: > &g

Re: [sage-devel] Error compiling sagelib-10.2 with --enable-system-site-packages

2024-01-12 Thread Niranjana K M
Should I have had started by cleaning the previous builds? It may be still using old Cython spkg, built when it was sage 10.0 release. Because in venv site-packages, it still says sage/venv/lib64/python3.11/site-packages/Cython-0.29.32.dist-info. What are the right sequence of commands to

Re: [sage-devel] Error compiling sagelib-10.2 with --enable-system-site-packages

2024-01-12 Thread Niranjana K M
It is attached in the previous mail. On Fri, 12 Jan 2024, 5:09 pm Michael Orlitzky, wrote: > On Thu, 2024-01-11 at 20:56 -0800, Niranjana K M wrote: > > > > I am running on Gentoo Linux and sagemath is from git master branch. > > I am having system cython-3.0.6 b

[sage-devel] Re: Display of scale multiplier in scientific notation (the e notation for powers of ten) is missing for plots starting with 0

2022-07-29 Thread Niranjana K M
Wait, i just solved it! It is not the issue with matplotlib but with the construction of SelectiveFormatter. This formatter construction is incomplete. I have created two new customized ScalarFormatters (default formatters used by matplotlib), the second one would be a good new addition

[sage-devel] Re: Display of scale multiplier in scientific notation (the e notation for powers of ten) is missing for plots starting with 0

2022-07-28 Thread Niranjana K M
@kcrisman Thanks for the continued conversation. I hope it was clear that "we would > be grateful" implied that there was no compulsion on your part, as well as > on the part of any other contributor. There is no such compulsion, indeed I like working with SAGE. My reply about my other

[sage-devel] Re: Display of scale multiplier in scientific notation (the e notation for powers of ten) is missing for plots starting with 0

2022-07-28 Thread Niranjana K M
matter(ax.yaxis.get_major_formatter(),skip_values=[0,1]) ax.xaxis.set_major_formatter(formatter) ax.yaxis.set_major_formatter(formatter) show(p) Any idea to fix it? On Thursday, July 28, 2022 at 3:25:41 AM UTC+5:30 Niranjana K M wrote: > Regarding axes Formatter, inserting >

[sage-devel] Re: Display of scale multiplier in scientific notation (the e notation for powers of ten) is missing for plots starting with 0

2022-07-27 Thread Niranjana K M
Regarding axes Formatter, inserting rcParams['axes.formatter.use_mathtext'] = True just after from matplotlib import rcParams in graphics.py makes the scientific notation to be typeset as x 10^7 (for example). This looks nicer than 1e7. See the figure. Though it does not solve the

[sage-devel] Re: Display of scale multiplier in scientific notation (the e notation for powers of ten) is missing for plots starting with 0

2022-07-27 Thread Niranjana K M
Very sorry. I am new to git and that was my first trac ticket ever. If somebody can take it up patching i would be happy. On Thursday, July 28, 2022 at 1:45:18 AM UTC+5:30 emanuel.c...@gmail.com wrote: > Le mercredi 27 juillet 2022 à 16:53:39 UTC+2, niran…@gmail.com a écrit : > > Dear Kcrisman,

[sage-devel] Re: Display of scale multiplier in scientific notation (the e notation for powers of ten) is missing for plots starting with 0

2022-07-27 Thread Niranjana K M
Dear Kcrisman, I will look into it *if* you promise me to *review* and *close* my another ticket https://trac.sagemath.org/ticket/34038 based on the thread https://groups.google.com/g/sage-devel/c/tMH1RZNyC9s/m/DRwexGpzAwAJ  With regards Niranjana On Wednesday, July 27, 2022 at

[sage-devel] Display of scale multiplier in scientific notation (the e notation for powers of ten) is missing for plots starting with 0

2022-07-26 Thread Niranjana K M
Dear all, "2D plotting" doc says, "Another thing to be aware of with axis labeling is that when the labels have quite different orders of magnitude or are very large, scientific notation (the e notation for powers of ten) is used." But display of this multiplier power for the scaled y-axis

[sage-devel] What to do after sytem python update?

2022-07-08 Thread Niranjana K M
Hello, My system Python which Sage was using until now got updated to next version on recent system upgrade. Now I get, $ sage Traceback (most recent call last): File "/mnt/vol_05/for-gentoo/sage/sage-9.6/src/bin/sage-ipython", line 9, in from sage.misc.banner import banner

Re: [sage-devel] parametric plot

2022-07-07 Thread Niranjana K M
Apart from just looking at this particular plot and trying to manage it, look at the actual problem in depth. Please look at how plotting points are evaluated. Even though Sage is capable of evaluating these points, it (or matplotlib?) is evaluating y coordinates after 88 as inf or nan. Please

Re: [sage-devel] parametric plot

2022-07-04 Thread Niranjana K M
x_data) ymin was NaN (setting to 0) verbose 0 (2200: graphics.py, get_minmax_data) ymax was NaN (setting to 0) Regards Niranjana On Monday, July 4, 2022 at 8:42:58 PM UTC+5:30 Niranjana K M wrote: > Some thing happened after t=89. Is it because of the following two cases: > > &g

Re: [sage-devel] parametric plot

2022-07-04 Thread Niranjana K M
Some thing happened after t=89. Is it because of the following two cases: for T in srange(1,100,1.0): print(T, float(C(T)[0]), float(C(T)[1])) . 87.0 -0. 0.5001 88.0 -0. 0.5 89.0 -1.0 0.5

Re: [sage-devel] Introduction to differentiable manifolds in SageMath

2022-06-23 Thread Niranjana K M
Very nice. Good work.. Best regards Niranjana On Thu, 23 Jun 2022, 8:08 pm Eric Gourgoulhon, wrote: > Hi, > > Andrzej Chrzeszczyk (Jan Kochanowski University of Kielce, Poland) has > prepared a series of notebooks introducing differentiable manifolds at the > textbook level with many examples

Re: [sage-devel] Re: Length of vectors in `plot_vector_field3d()`

2022-06-21 Thread Niranjana K M
@Vincent > I think it is desirable to use the same argument conventions as the > method VectorField.plot(). In particular use `scale` and not `scaled`. > I don't know whether VectorField.plot() supports a default rescaling > as you proposed. > Ok let us change into `scale`. Also I have a new

Re: [sage-devel] Re: Length of vectors in `plot_vector_field3d()`

2022-06-20 Thread Niranjana K M
@Vincent On Sun, Jun 19, 2022 at 5:52 PM Vincent Delecroix <20100.delecr...@gmail.com> wrote: > Nice catch indeed. I am not sure that "scaled=True/False" is the most > flexible design. You might just want to apply *some* scale, not > necessarily the one making the max length being one. I imagine

[sage-devel] Re: Length of vectors in `plot_vector_field3d()`

2022-06-19 Thread Niranjana K M
@Eric That's very nice. Thanks for pointing towards sage manifold. I am also on 9.6. It seems E.vector_field().plot() method is much slower than plot_vector_field3d(). Check once with time(). Internally plot_vector_field3d() uses a plot() function, may be different from this from sage

Re: [sage-devel] Re: Length of vectors in `plot_vector_field3d()`

2022-06-19 Thread Niranjana K M
@Vincent On Sunday, June 19, 2022 at 5:52:28 PM UTC+5:30 vdelecroix wrote: > Nice catch indeed. I am not sure that "scaled=True/False" is the most > flexible design. You might just want to apply *some* scale, not > necessarily the one making the max length being one. I imagine that it >

[sage-devel] Re: Length of vectors in `plot_vector_field3d()`

2022-06-19 Thread Niranjana K M
missing functions to manifolds. I just loved it. with regards, Niranjana On Sunday, June 19, 2022 at 3:56:55 PM UTC+5:30 Niranjana K M wrote: > Dear all, > I tried to plot constant vector fields. > plot_vector_field3d((1,0,0), (x,-2,2), (y,-2,2), (z,-2,2)) > and > plot_vector

[sage-devel] Length of vectors in `plot_vector_field3d()`

2022-06-19 Thread Niranjana K M
Dear all, I tried to plot constant vector fields. plot_vector_field3d((1,0,0), (x,-2,2), (y,-2,2), (z,-2,2)) and plot_vector_field3d((2,0,0), (x,-2,2), (y,-2,2), (z,-2,2)) Length of the arrows of first one are equal to the second one. I expect that the length of arrows in second to be

[sage-devel] Help --> Sage Tutorial, Reference etc doesn't load in JupyterLab

2022-05-25 Thread Niranjana K M
Dear all, First I thank you all for Sage-9.6 release. I tried JupyterLab in Sage 9.6 on Gentoo x86_64. Looks cool. But I noticed that in Help section, if I click on Sage Tutorial or Reference etc, the page is not loading. It shows up a blank tab and continuously tries to load but shows

Re: [sage-devel] Update of system python

2021-08-31 Thread Niranjana K M
. On Tuesday, August 31, 2021 at 5:38:03 PM UTC+5:30 Michael Orlitzky wrote: > On Tue, 2021-08-31 at 10:42 +0530, Niranjana K M wrote: > > Hi, > > If sage is built with system python (default behavior) any future > > update of system python makes sage non-functio

[sage-devel] Update of system python

2021-08-30 Thread Niranjana K M
Hi, If sage is built with system python (default behavior) any future update of system python makes sage non-functioning. This is natural. Then how to fix it withoul rebuilding whole sage? Atleast we should rebuild all python dependent stuffs in sage. Which command should i run? I found by