From: Andreas Tille Date: Sun, 28 Apr 2024 21:11:07 +0000 (-0300) Subject: Make sure autopkgtest also passes with Python3.12 X-Git-Tag: archive/raspbian/8.0.3-2+rpi1^2^2^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=31ce4aa74412c286de6e77e7111e875d80a98649;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