def hide_tick_labels_from_box_subplots(fig):
 boxplot_xaxes = []
 for trace in fig['data']:
  if (trace['type'] == 'box'):
   boxplot_xaxes.append('xaxis{}'.format(trace['xaxis'][1:]))
 for xaxis in boxplot_xaxes:
  fig['layout'][xaxis]['showticklabels'] = False

def hide_tick_labels_from_box_subplots ( fig ) : boxplot_xaxes = [ ] for trace in fig [ 'data' ] : if ( trace [ 'type' ] == 'box' ) : boxplot_xaxes . append ( 'xaxis{}' . format ( trace [ 'xaxis' ] [ 1 : ] ) ) for xaxis in boxplot_xaxes : fig [ 'layout' ] [ xaxis ] [ 'showticklabels' ] = False
hides tick labels for box plots in scatterplotmatrix subplots .