Skip to content

Commit 1e18ff4

Browse files
author
Benedikt Tissot
committed
rename 'axenv' to 'axis environment'
1 parent c5cac40 commit 1e18ff4

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
@@ -133,7 +133,7 @@ def get_tikz_code(
133133
data['custom colors'] = {}
134134
data['legend colors'] = []
135135
data['extra tikzpicture parameters'] = extra_tikzpicture_parameters
136-
data['axenv'] = axis_environment
136+
data['axis environment'] = axis_environment
137137
data['show_info'] = show_info
138138
# rectangle_legends is used to keep track of which rectangles have already
139139
# had \addlegendimage added. There should be only one \addlegenimage per
@@ -286,7 +286,7 @@ 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['axis environment']:
290290
content.extend(
291291
ax.get_begin_code() +
292292
children_content +

0 commit comments

Comments
 (0)