Skip to content

Commit 2d264f7

Browse files
nikhasejonmmease
authored andcommitted
Ref #1100 , tickmode set to invalid value in mpltools (#1101)
* basevalidator throws an error on the boolean
1 parent 4efb2ef commit 2d264f7

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)