diff --git a/examples/tutorials/advanced/non_ascii_text.py b/examples/tutorials/advanced/non_ascii_text.py index d51a8084281..fb88c50e46f 100644 --- a/examples/tutorials/advanced/non_ascii_text.py +++ b/examples/tutorials/advanced/non_ascii_text.py @@ -32,14 +32,14 @@ ) fig.text( - x=[0.2, 0.2, 0.2, 0.2, 0.2], + x=[0.2] * 5, y=[5, 4, 3, 2, 1], text=["ASCII:", "ISOLatin1+:", "Symbol:", "ZapfDingbats:", "Mixed:"], font="20p,Helvetica-Bold,red", justify="LM", ) fig.text( - x=[2, 2, 2, 2, 2], + x=[2] * 5, y=[5, 4, 3, 2, 1], text=[ "ABCDE12345!#$:;<=>?", # ASCII only