File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 174174the axes objects in which the mappable and the colorbar are drawn. In
175175this case, do not use any of the axes properties kwargs.
176176
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+
177190returns:
178191 :class:`~matplotlib.colorbar.Colorbar` instance; see also its base class,
179192 :class:`~matplotlib.colorbar.ColorbarBase`. Call the
Original file line number Diff line number Diff line change 144144the axes objects in which the mappable and the colorbar are drawn. In
145145this case, do not use any of the axes properties kwargs.
146146
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+
147160returns:
148161 :class:`~matplotlib.colorbar.Colorbar` instance; see also its base class,
149162 :class:`~matplotlib.colorbar.ColorbarBase`. Call the
Original file line number Diff line number Diff line change 144144the axes objects in which the mappable and the colorbar are drawn. In
145145this case, do not use any of the axes properties kwargs.
146146
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+
147160returns:
148161 :class:`~matplotlib.colorbar.Colorbar` instance; see also its base class,
149162 :class:`~matplotlib.colorbar.ColorbarBase`. Call the
You can’t perform that action at this time.
0 commit comments