Skip to content

Commit fb6ca66

Browse files
authored
Merge pull request #295 from Aikhjarto/fix294
fix #294
2 parents 0ea7930 + 3d428f4 commit fb6ca66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

matplotlib2tikz/save.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def save(filepath, *args, encoding=None, **kwargs):
245245
For supported values: see ``codecs`` module.
246246
:returns: None
247247
"""
248-
code = get_tikz_code(*args, **kwargs)
248+
code = get_tikz_code(*args, filepath=filepath, **kwargs)
249249
file_handle = codecs.open(filepath, "w", encoding)
250250
try:
251251
file_handle.write(code)

0 commit comments

Comments
 (0)