You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-on to the prose pass, kept separate so it can be dropped on its
own. Every name here has all of its references inside a single file (or,
for favourite_list, one view and its template), so each rename is the
definition and its uses together:
draw_spectrum.py centre_ratio, y_centre -> center_ratio, y_center
WebEllipticCurve.py EC_R_plot's colour parameter -> color
web_newform.py factorisation loop variable -> factorization
galois_reps.py renormalise_coefficients -> renormalize_coefficients
search_wrapper.py query_cancelled_error -> query_canceled_error
hecke_algebras favourite_list -> favorite_list (view + template)
test_st.py test_favourites -> test_favorites
query_cancelled_error is worth a look: it handles psycopg's
QueryCanceledError, which spells it with one l, so the handler and the
exception now agree.
Not renamed: signtocolour, which lmfdb/utils/__init__.py exports in
__all__ and five modules import. Renaming it is an API change rather
than a spelling fix, so it and the locals built on it (signcolour,
thiscolour, colourplus, colourminus, test_signtocolour) are left for a
separate decision.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
returnimplicit_plot(y**2+ainvs[0] *x*y+ainvs[2] *y-x**3-ainvs[1] *x**2-ainvs[3] *x-ainvs[4], (x, xmin, xmax), (y, ymin, ymax), plot_points=500, aspect_ratio="automatic", color=colour) +plot(0, xmin=c-1e-5*d, xmax=c+1e-5*d, ymin=ymin, ymax=ymax, aspect_ratio="automatic", color=colour, legend_label=legend) # Add an extra plot outside the visible frame because implicit plots are buggy: their legend does not show (https://trac.sagemath.org/ticket/15903)
223
+
returnimplicit_plot(y**2+ainvs[0] *x*y+ainvs[2] *y-x**3-ainvs[1] *x**2-ainvs[3] *x-ainvs[4], (x, xmin, xmax), (y, ymin, ymax), plot_points=500, aspect_ratio="automatic", color=color) +plot(0, xmin=c-1e-5*d, xmax=c+1e-5*d, ymin=ymin, ymax=ymax, aspect_ratio="automatic", color=color, legend_label=legend) # Add an extra plot outside the visible frame because implicit plots are buggy: their legend does not show (https://trac.sagemath.org/ticket/15903)
0 commit comments