Skip to content

Commit fb8aae0

Browse files
committed
last lint fix
1 parent 9876c38 commit fb8aae0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

matplotlib2tikz/line2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def draw_linecollection(data, obj):
187187

188188
# TODO what about masks?
189189
data, cont = mypath.draw_path(
190-
obj, data, path,
190+
data, path,
191191
draw_options=options,
192192
simplify=False
193193
)

matplotlib2tikz/patch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def draw_patch(data, obj):
2424
else:
2525
# regular patch
2626
return mypath.draw_path(
27-
obj, data, obj.get_path(), draw_options=draw_options
27+
data, obj.get_path(), draw_options=draw_options
2828
)
2929

3030

@@ -42,7 +42,7 @@ def draw_patchcollection(data, obj):
4242
)
4343
for path in obj.get_paths():
4444
data, cont = mypath.draw_path(
45-
obj, data, path, draw_options=draw_options
45+
data, path, draw_options=draw_options
4646
)
4747
content.append(cont)
4848
return data, content

matplotlib2tikz/path.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from .axes import _mpl_cmap2pgf_cmap
88

99

10-
def draw_path(obj, data, path, draw_options=None, simplify=None):
10+
def draw_path(data, path, draw_options=None, simplify=None):
1111
'''Adds code for drawing an ordinary path in PGFPlots (TikZ).
1212
'''
1313
# For some reasons, matplotlib sometimes adds void paths which consist of

0 commit comments

Comments
 (0)