From b8696f98d069e7bad1df4d58be95d240a038d8f7 Mon Sep 17 00:00:00 2001 From: Andreas Tille Date: Thu, 29 Feb 2024 12:12:57 +0000 Subject: [PATCH] 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 --- examples/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2