Skip to content

Commit fed867a

Browse files
committed
Pylint fixes again.
1 parent e4caf06 commit fed867a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

plotly/matplotlylib/mpltools.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ def convert_path_array(path_array):
292292
else:
293293
return symbols
294294

295+
295296
def convert_linewidth_array(width_array):
296297
if len(width_array) == 1:
297298
return width_array[0]
@@ -308,7 +309,7 @@ def convert_size_array(size_array):
308309

309310

310311
def get_markerstyle_from_collection(props):
311-
markerstyle=dict(
312+
markerstyle = dict(
312313
alpha=None,
313314
facecolor=convert_rgba_array(props['styles']['facecolor']),
314315
marker=convert_path_array(props['paths']),
@@ -339,6 +340,7 @@ def get_rect_ymax(data):
339340
"""Find maximum y value from four (x,y) vertices."""
340341
return max(data[0][1], data[1][1], data[2][1], data[3][1])
341342

343+
342344
def get_spine_visible(ax, spine_key):
343345
"""Return some spine parameters for the spine, `spine_key`."""
344346
spine = ax.spines[spine_key]
@@ -393,6 +395,7 @@ def make_bar(**props):
393395
'zorder': props['style']['zorder']
394396
}
395397

398+
396399
def prep_ticks(ax, index, ax_type, props):
397400
"""Prepare axis obj belonging to axes obj.
398401
@@ -444,10 +447,10 @@ def prep_ticks(ax, index, ax_type, props):
444447
if base == 10:
445448
if ax_type == 'x':
446449
axis_dict['range'] = [math.log10(props['xlim'][0]),
447-
math.log10(props['xlim'][1])]
450+
math.log10(props['xlim'][1])]
448451
elif ax_type == 'y':
449452
axis_dict['range'] = [math.log10(props['ylim'][0]),
450-
math.log10(props['ylim'][1])]
453+
math.log10(props['ylim'][1])]
451454
else:
452455
axis_dict = dict(range=None, type='linear')
453456
warnings.warn("Converted non-base10 {0}-axis log scale to 'linear'"

0 commit comments

Comments
 (0)