Skip to content

Commit c5cac40

Browse files
author
Benedikt Tissot
committed
fix superfluous parens
1 parent 3e83a30 commit c5cac40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

matplotlib2tikz/save.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,15 +286,15 @@ def _recurse(data, obj):
286286
if data['extra axis options']:
287287
ax.axis_options.extend(data['extra axis options'])
288288
# populate content and add axis environment if wished
289-
if(data['axenv']):
289+
if data['axenv']:
290290
content.extend(
291291
ax.get_begin_code() +
292292
children_content +
293293
[ax.get_end_code(data)], 0)
294294
else:
295295
content.extend(children_content, 0)
296296
# print axis environment options, if told to show infos
297-
if(data['show_info']):
297+
if data['show_info']:
298298
print("=========================================================")
299299
print("These would have been the properties of the environment:")
300300
print(''.join(ax.get_begin_code()[1:]))

0 commit comments

Comments
 (0)