We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73b7b7c commit 4e42686Copy full SHA for 4e42686
lib/matplotlib/collections.py
@@ -271,6 +271,12 @@ def draw(self, renderer):
271
from matplotlib.patheffects import PathEffectRenderer
272
renderer = PathEffectRenderer(self.get_path_effects(), renderer)
273
274
+ # If the collection is made up of a single shape/color/stroke,
275
+ # it can be rendered once and blitted multiple times, using
276
+ # `draw_markers` rather than `draw_path_collection`. This is
277
+ # *much* faster for Agg, and results in smaller file sizes in
278
+ # PDF/SVG/PS.
279
+
280
trans = self.get_transforms()
281
facecolors = self.get_facecolor()
282
edgecolors = self.get_edgecolor()
0 commit comments