Skip to content

Commit 893d2c6

Browse files
committed
small test fixes
1 parent ddf7ae3 commit 893d2c6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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.5,
43+
scale=0.65,
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.5,
50+
scale=0.65,
5151
anchor=base west,
5252
text=black,
5353
rotate=0.0
5454
]{arrowstyle};
5555
\draw (axis cs:50,-30) node[
56-
scale=0.5,
56+
scale=0.65,
5757
anchor=base west,
5858
text=black,
5959
rotate=0.0

tikzplotlib/_path.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ def mpl_linestyle2pgfplots_linestyle(data, line_style, line=None):
366366
# dashdot: (0, (3.0, 5.0, 1.0, 5.0))
367367
ff = data["float format"]
368368
if isinstance(line_style, tuple):
369-
if line_style[0] is None:
369+
if line_style[0] is None or line_style[1] is None:
370370
return None
371371

372372
if len(line_style[1]) == 2:

0 commit comments

Comments
 (0)