Skip to content

Commit b44a0de

Browse files
committed
test fixes
1 parent 7a6f6ae commit b44a0de

File tree

4 files changed

+21
-29
lines changed

4 files changed

+21
-29
lines changed

test/test_annotate_reference.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,20 @@
4040
};
4141
\draw[->,draw=red] (axis cs:4.5,1.5) -- (axis cs:4,1);
4242
\draw (axis cs:4.5,1.5) node[
43-
scale=0.65,
43+
scale=0.5,
4444
anchor=base west,
4545
text=black,
4646
rotate=0.0
4747
]{text};
4848
\draw[->,draw=black] (axis cs:0,1) ++(-50pt,30pt) -- (axis cs:0,1);
4949
\draw (axis cs:0,1) ++(-50pt,30pt) node[
50-
scale=0.65,
50+
scale=0.5,
5151
anchor=base west,
5252
text=black,
5353
rotate=0.0
5454
]{arrowstyle};
5555
\draw (axis cs:50,-30) node[
56-
scale=0.65,
56+
scale=0.5,
5757
anchor=base west,
5858
text=black,
5959
rotate=0.0

test/test_hatch_reference.tex

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,7 @@
4545

4646
\nextgroupplot[
4747
legend cell align={left},
48-
legend style={
49-
fill opacity=0.8,
50-
draw opacity=1,
51-
text opacity=1,
52-
at={(0.91,0.5)},
53-
anchor=east,
54-
draw=white!80!black
55-
},
48+
legend style={fill opacity=0.8, draw opacity=1, text opacity=1, draw=white!80!black},
5649
tick align=outside,
5750
tick pos=left,
5851
x grid style={white!69.019608!black},

test/test_legend_best_location_reference.tex

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
fill opacity=0.8,
4848
draw opacity=1,
4949
text opacity=1,
50-
at={(0.5,0.91)},
51-
anchor=north,
50+
at={(0.03,0.97)},
51+
anchor=north west,
5252
draw=white!80!black
5353
},
5454
scaled x ticks=manual:{}{\pgfmathparse{#1}},
@@ -135,8 +135,8 @@
135135
fill opacity=0.8,
136136
draw opacity=1,
137137
text opacity=1,
138-
at={(0.97,0.03)},
139-
anchor=south east,
138+
at={(0.03,0.03)},
139+
anchor=south west,
140140
draw=white!80!black
141141
},
142142
scaled x ticks=manual:{}{\pgfmathparse{#1}},
@@ -239,8 +239,8 @@
239239
fill opacity=0.8,
240240
draw opacity=1,
241241
text opacity=1,
242-
at={(0.5,0.5)},
243-
anchor=center,
242+
at={(0.09,0.5)},
243+
anchor=west,
244244
draw=white!80!black
245245
},
246246
scaled x ticks=manual:{}{\pgfmathparse{#1}},
@@ -321,8 +321,8 @@
321321
fill opacity=0.8,
322322
draw opacity=1,
323323
text opacity=1,
324-
at={(0.97,0.03)},
325-
anchor=south east,
324+
at={(0.5,0.09)},
325+
anchor=south,
326326
draw=white!80!black
327327
},
328328
tick align=outside,
@@ -357,7 +357,14 @@
357357

358358
\nextgroupplot[
359359
legend cell align={left},
360-
legend style={fill opacity=0.8, draw opacity=1, text opacity=1, draw=white!80!black},
360+
legend style={
361+
fill opacity=0.8,
362+
draw opacity=1,
363+
text opacity=1,
364+
at={(0.5,0.91)},
365+
anchor=north,
366+
draw=white!80!black
367+
},
361368
scaled y ticks=manual:{}{\pgfmathparse{#1}},
362369
tick align=outside,
363370
tick pos=left,
@@ -391,14 +398,7 @@
391398
\addlegendentry{UC}
392399

393400
\nextgroupplot[
394-
legend style={
395-
fill opacity=0.8,
396-
draw opacity=1,
397-
text opacity=1,
398-
at={(0.91,0.5)},
399-
anchor=east,
400-
draw=white!80!black
401-
},
401+
legend style={fill opacity=0.8, draw opacity=1, text opacity=1, draw=white!80!black},
402402
scaled y ticks=manual:{}{\pgfmathparse{#1}},
403403
tick align=outside,
404404
tick pos=left,

test/test_scatter_different_sizes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import matplotlib.pyplot as plt
2-
import numpy as np
32
from helpers import assert_equality
43

54

0 commit comments

Comments
 (0)