Skip to content

Commit afb0006

Browse files
committed
update tests
1 parent 350dde5 commit afb0006

File tree

4 files changed

+8
-56
lines changed

4 files changed

+8
-56
lines changed

test/test_patches.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,10 @@ def plot():
6767
def test():
6868
assert_equality(plot, __file__[:-3] + "_reference.tex")
6969
return
70+
71+
72+
if __name__ == "__main__":
73+
import helpers
74+
75+
helpers.compare_mpl_latex(plot)
76+
# helpers.print_tree(plot())

test/test_patches_reference.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
--(axis cs:0.623952951792111,0.115618395079296)
195195
--cycle;
196196

197-
\draw[fill=color0,draw opacity=0,fill opacity=0.4] (axis cs:1,0.5) ellipse (0.5 and 0.25);
197+
\draw[fill=color0,draw opacity=0,fill opacity=0.4,rotate around={45:(axis cs:1,0.5)}] (axis cs:1,0.5) ellipse (0.5 and 0.25);
198198
\draw[draw=red,fill=red,opacity=0.4] (axis cs:0,1) circle (0.5);
199199
\end{axis}
200200

test/test_rotated_ellipse.py

Lines changed: 0 additions & 37 deletions
This file was deleted.

test/test_rotated_ellipse_reference.tex

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)