Skip to content

Commit 8ac0482

Browse files
committed
fix call to mpl_linestyle2pgfplots_linestyle
1 parent 09478fa commit 8ac0482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

matplotlib2tikz/line2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def draw_line2d(data, obj):
4141
if alpha is not None:
4242
addplot_options.append("opacity={}".format(alpha))
4343

44-
linestyle = mypath.mpl_linestyle2pgfplots_linestyle(obj.get_linestyle())
44+
linestyle = mypath.mpl_linestyle2pgfplots_linestyle(obj.get_linestyle(), line=obj)
4545
if linestyle is not None and linestyle != "solid":
4646
addplot_options.append(linestyle)
4747

0 commit comments

Comments
 (0)