From b2ede2da5ece936a9be421f2b6fbdb6c65cb225a Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 4 Jan 2023 03:02:24 +0000 Subject: CTAN sync 202301040302 --- macros/luatex/latex/pyluatex/example/data-visualization.tex | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'macros/luatex/latex/pyluatex/example/data-visualization.tex') diff --git a/macros/luatex/latex/pyluatex/example/data-visualization.tex b/macros/luatex/latex/pyluatex/example/data-visualization.tex index 3a2d20a2bd..2d43cb946b 100644 --- a/macros/luatex/latex/pyluatex/example/data-visualization.tex +++ b/macros/luatex/latex/pyluatex/example/data-visualization.tex @@ -1,4 +1,4 @@ -%% Copyright 2021-2022 Tobias Enderle +%% Copyright 2021-2023 Tobias Enderle %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3c @@ -72,8 +72,8 @@ and \py{df.Time.iloc[-1]}. The red lines mark the current year and population. xticklabel style={/pgf/number format/1000 sep=}, grid=both, ] -\addplot[no marks,black,thick] coordinates {% - \py{pgf_coords(world_data.index, world_data.PopTotal / 1e6)}% +\addplot[no marks,black,thick] coordinates { + \py{pgf_coords(world_data.index, world_data.PopTotal / 1e6)} }; \draw[red,thick] (axis cs:\py{year},0) |- (axis cs:0,\py{current_pop / 1e6}); \end{axis} @@ -123,9 +123,9 @@ plots = [ xticklabel style={/pgf/number format/1000 sep=}, grid=both, ] -\pgfplotsinvokeforeach{0,1}{% - \addplot[no marks,black,thick] coordinates {% - \py{pgf_coords(plots[#1][1].index, plots[#1][1])}% +\pgfplotsinvokeforeach{0,1}{ + \addplot[no marks,black,thick] coordinates { + \py{pgf_coords(plots[#1][1].index, plots[#1][1])} }; \node[below] at (axis cs:\py{marker_year},\py{plots[#1][1].loc[marker_year]}) {\py{plots[#1][0]}}; -- cgit v1.2.3