Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions tests/test_barchart_errorbars_reference.tex
Original file line number Diff line number Diff line change
Expand Up @@ -55,37 +55,37 @@
(axis cs:2.25,0.9)
--(axis cs:2.25,1.1);

\addplot [semithick, black, mark=-, mark size=8, mark options={solid}, only marks]
\addplot [line width=2pt, black, mark=-, mark size=8, mark options={solid}, only marks]
table {%
-0.25 0.9
0.75 1.8
1.75 2.5
};
\addplot [semithick, black, mark=-, mark size=8, mark options={solid}, only marks]
\addplot [line width=2pt, black, mark=-, mark size=8, mark options={solid}, only marks]
table {%
-0.25 1.1
0.75 2.2
1.75 3.5
};
\addplot [semithick, black, mark=-, mark size=8, mark options={solid}, only marks]
\addplot [line width=2pt, black, mark=-, mark size=8, mark options={solid}, only marks]
table {%
0 2.6
1 1.8
2 3.5
};
\addplot [semithick, black, mark=-, mark size=8, mark options={solid}, only marks]
\addplot [line width=2pt, black, mark=-, mark size=8, mark options={solid}, only marks]
table {%
0 3.4
1 2.2
2 4.5
};
\addplot [semithick, black, mark=-, mark size=8, mark options={solid}, only marks]
\addplot [line width=2pt, black, mark=-, mark size=8, mark options={solid}, only marks]
table {%
0.25 4.9
1.25 2.8
2.25 0.9
};
\addplot [semithick, black, mark=-, mark size=8, mark options={solid}, only marks]
\addplot [line width=2pt, black, mark=-, mark size=8, mark options={solid}, only marks]
table {%
0.25 5.1
1.25 3.2
Expand Down
33 changes: 3 additions & 30 deletions tests/test_colorbars_reference.tex
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,9 @@
--(axis cs:9.9414062,10)
--(axis cs:-4.9414062,10)
--(axis cs:-5,10)
--cycle;
\addplot graphics [includegraphics cmd=\pgfimage,xmin=-5, xmax=10, ymin=-5, ymax=10] {tmp-000.png};
\path [draw=black, line width=0.32pt]
(axis cs:-5,-5)
--(axis cs:-4.9414062,-5)
--(axis cs:9.9414062,-5)
--(axis cs:10,-5)
--(axis cs:10,10)
--(axis cs:9.9414062,10)
--(axis cs:-4.9414062,10)
--(axis cs:-5,10)
--cycle;
\addplot graphics [includegraphics cmd=\pgfimage,xmin=-5, xmax=10, ymin=-5, ymax=10] {tmp-000.png};

\nextgroupplot[
tick align=outside,
Expand All @@ -54,16 +45,6 @@
--(axis cs:0.65,4.5)
--cycle;
\addplot graphics [includegraphics cmd=\pgfimage,xmin=0.65, xmax=8.35, ymin=1, ymax=8] {tmp-001.png};
\path [draw=black, line width=0.32pt]
(axis cs:0.65,4.5)
--(axis cs:1,1)
--(axis cs:8,1)
--(axis cs:8.35,4.5)
--(axis cs:8.35,4.5)
--(axis cs:8,8)
--(axis cs:1,8)
--(axis cs:0.65,4.5)
--cycle;

\nextgroupplot[
tick align=outside,
Expand All @@ -72,6 +53,8 @@
xlabel={Custom extension lengths, some other units},
xmin=-1.5, xmax=1.5,
xtick style={color=black},
xtick={-1,-0.5,0,0.5,1},
xticklabels={\ensuremath{-}1.0,\ensuremath{-}0.5,0.0,0.5,1.0},
ymin=-1, ymax=1
]
\path [draw=white, fill=white, line width=0.004pt]
Expand All @@ -85,16 +68,6 @@
--(axis cs:-1.5,0)
--cycle;
\addplot graphics [includegraphics cmd=\pgfimage,xmin=-1.5, xmax=1.5, ymin=-1, ymax=1] {tmp-002.png};
\path [draw=black, line width=0.32pt]
(axis cs:-1.5,0)
--(axis cs:-1,-1)
--(axis cs:1,-1)
--(axis cs:1.5,0)
--(axis cs:1.5,0)
--(axis cs:1,1)
--(axis cs:-1,1)
--(axis cs:-1.5,0)
--cycle;
\end{groupplot}

\end{tikzpicture}
6 changes: 4 additions & 2 deletions tests/test_fillstyle_reference.tex
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@
xmin=-0.05, xmax=1.05,
xtick style={color=black},
xtick={-0.2,0,0.2,0.4,0.6,0.8,1,1.2},
xticklabels={0.2,0.0,0.2,0.4,0.6,0.8,1.0,1.2},
xticklabels={\ensuremath{-}0.2,0.0,0.2,0.4,0.6,0.8,1.0,1.2},
y grid style={white!69.019608!black},
ymin=-0.45, ymax=9.45,
ytick style={color=black}
ytick style={color=black},
ytick={-2,0,2,4,6,8,10},
yticklabels={\ensuremath{-}2,0,2,4,6,8,10}
]
\addplot [semithick, color0, mark=o, mark size=3, mark options={solid,fill opacity=0}]
table {%
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ deps =
pytest
pytest-cov
pytest-codeblocks
matplotlib == 3.3.4
matplotlib == 3.4.2
pytest-randomly
commands =
pytest {posargs} --codeblocks