File tree Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 174
174
the axes objects in which the mappable and the colorbar are drawn. In
175
175
this case, do not use any of the axes properties kwargs.
176
176
177
+ It is known that some vector graphics viewer (svg and pdf) renders white gaps
178
+ between segments of the colorbar. This is due to bugs in the viewers not
179
+ matplotlib. As a workaround the colorbar can be rendered with overlapping
180
+ segments::
181
+
182
+ cbar = colorbar()
183
+ cbar.solids.set_edgecolor("face")
184
+ draw()
185
+
186
+ However this has negative consequences in other circumstances. Particularly with
187
+ semi transparent images (alpha < 1) and colorbar extensions and is not enabled
188
+ by default see (issue #1188).
189
+
177
190
returns:
178
191
:class:`~matplotlib.colorbar.Colorbar` instance; see also its base class,
179
192
:class:`~matplotlib.colorbar.ColorbarBase`. Call the
Original file line number Diff line number Diff line change 144
144
the axes objects in which the mappable and the colorbar are drawn. In
145
145
this case, do not use any of the axes properties kwargs.
146
146
147
+ It is known that some vector graphics viewer (svg and pdf) renders white gaps
148
+ between segments of the colorbar. This is due to bugs in the viewers not
149
+ matplotlib. As a workaround the colorbar can be rendered with overlapping
150
+ segments::
151
+
152
+ cbar = colorbar()
153
+ cbar.solids.set_edgecolor("face")
154
+ draw()
155
+
156
+ However this has negative consequences in other circumstances. Particularly with
157
+ semi transparent images (alpha < 1) and colorbar extensions and is not enabled
158
+ by default see (issue #1188).
159
+
147
160
returns:
148
161
:class:`~matplotlib.colorbar.Colorbar` instance; see also its base class,
149
162
:class:`~matplotlib.colorbar.ColorbarBase`. Call the
Original file line number Diff line number Diff line change 144
144
the axes objects in which the mappable and the colorbar are drawn. In
145
145
this case, do not use any of the axes properties kwargs.
146
146
147
+ It is known that some vector graphics viewer (svg and pdf) renders white gaps
148
+ between segments of the colorbar. This is due to bugs in the viewers not
149
+ matplotlib. As a workaround the colorbar can be rendered with overlapping
150
+ segments::
151
+
152
+ cbar = colorbar()
153
+ cbar.solids.set_edgecolor("face")
154
+ draw()
155
+
156
+ However this has negative consequences in other circumstances. Particularly with
157
+ semi transparent images (alpha < 1) and colorbar extensions and is not enabled
158
+ by default see (issue #1188).
159
+
147
160
returns:
148
161
:class:`~matplotlib.colorbar.Colorbar` instance; see also its base class,
149
162
:class:`~matplotlib.colorbar.ColorbarBase`. Call the
You can’t perform that action at this time.
0 commit comments