Skip to content

Commit fe18c59

Browse files
committed
more lint hints
1 parent d6958f8 commit fe18c59

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

matplotlib2tikz/axes.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ def __init__(self, data, obj):
346346
data, 'minor y', colorbar_ticks_minor,
347347
colorbar_ticklabels_minor)
348348
)
349-
colorbar_styles.append('ylabel={'+ colorbar_ylabel +'}')
349+
colorbar_styles.append('ylabel={' + colorbar_ylabel + '}')
350350

351351
mycolormap, is_custom_cmap = _mpl_cmap2pgf_cmap(
352352
colorbar.get_cmap()
@@ -390,8 +390,9 @@ def __get_label_rotation_and_horizontal_alignment(self, obj, data, axes):
390390
tick_label_text_width = None
391391
tick_label_text_width_identifier = "%s tick label text width" % axes
392392
if tick_label_text_width_identifier in data['extra axis options']:
393-
tick_label_text_width = data['extra axis options [base]'] \
394-
[tick_label_text_width_identifier]
393+
tick_label_text_width = data['extra axis options [base]'][
394+
tick_label_text_width_identifier
395+
]
395396
del data['extra axis options'][tick_label_text_width_identifier]
396397

397398
label_style = ""

matplotlib2tikz/save.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ def _print_pgfplot_libs_message(data):
235235
print('=========================================================')
236236
return
237237

238+
238239
class _ContentManager(object):
239240
""" Basic Content Manager for matplotlib2tikz
240241

0 commit comments

Comments
 (0)