Skip to content

Commit c0a36b4

Browse files
committed
Ref plotly#1100 , tickmode set to invalid value in mpltools
* basevalidator throws an error on the boolean
1 parent 4efb2ef commit c0a36b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: plotly/matplotlylib/mpltools.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -453,13 +453,13 @@ def prep_ticks(ax, index, ax_type, props):
453453
else:
454454
axis_dict['tick0'] = tick0
455455
axis_dict['dtick'] = dtick
456-
axis_dict['tickmode'] = False
456+
axis_dict['tickmode'] = None
457457
elif scale == 'log':
458458
try:
459459
axis_dict['tick0'] = props['axes'][index]['tickvalues'][0]
460460
axis_dict['dtick'] = props['axes'][index]['tickvalues'][1] - \
461461
props['axes'][index]['tickvalues'][0]
462-
axis_dict['tickmode'] = False
462+
axis_dict['tickmode'] = None
463463
except (IndexError, TypeError):
464464
axis_dict = dict(nticks=props['axes'][index]['nticks'])
465465
base = axis.get_transform().base

0 commit comments

Comments
 (0)