From: Andreas Tille Date: Wed, 22 Jan 2025 20:50:44 +0000 (+0100) Subject: Make sure autopkgtest also passes with Python3.12 X-Git-Tag: archive/raspbian/8.0.3-2+rpi1^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ea8ac0fab439ea0ebd0dcc496f7e74c28a1d7536;p=mathgl.git Make sure autopkgtest also passes with Python3.12 Bug-Debian: https://bugs.debian.org/1061810 Last-Update: Wed, 14 Feb 2024 12:02:47 +0100 Gbp-Pq: Name python3.12.patch --- diff --git a/examples/test.py b/examples/test.py index 2b31d1c..cff8bba 100644 --- a/examples/test.py +++ b/examples/test.py @@ -12,5 +12,5 @@ gr.Light(True) # enable lighting gr.Surf(dat) # plot surface gr.Cont(dat,"y") # plot yellow contour lines gr.Axis() # draw axis -gr.Puts(mglPoint(1,1,1.2),"\i f = \dfrac{1}{1+(5x-5)^2+(5y-5)^2}") +gr.Puts(mglPoint(1,1,1.2),r"\i f = \dfrac{1}{1+(5x-5)^2+(5y-5)^2}") gr.WriteFrame("sample.png") # save it