@@ -112,7 +112,7 @@ def plot_figure(style_label=""):
112
112
113
113
fig , axs = plt .subplots (ncols = 6 , nrows = 1 , num = style_label ,
114
114
figsize = fig_size , squeeze = True )
115
- axs [0 ].set_ylabel (style_label )
115
+ axs [0 ].set_ylabel (style_label , fontsize = 13 , fontweight = 'bold' )
116
116
117
117
plot_scatter (axs [0 ], prng )
118
118
plot_image_and_patch (axs [1 ], prng )
@@ -131,8 +131,11 @@ def plot_figure(style_label=""):
131
131
# Setup a list of all available styles, in alphabetical order but
132
132
# the `default` and `classic` ones, which will be forced resp. in
133
133
# first and second position.
134
+ # styles with leading underscores are for internal use such as testing
135
+ # and plot types gallery. These are excluded here.
134
136
style_list = ['default' , 'classic' ] + sorted (
135
- style for style in plt .style .available if style != 'classic' )
137
+ style for style in plt .style .available
138
+ if style != 'classic' and not style .startswith ('_' ))
136
139
137
140
# Plot a demonstration figure for every available style sheet.
138
141
for style_label in style_list :
0 commit comments