Skip to content
Permalink
Browse files

Docstring tweaks

  • Loading branch information...
Robin Dunn authored and RobinD42 committed Aug 14, 2019
1 parent 2cc38c2 commit c4f30a1eba8b5e9e4470a99f95765c78e68f6230
Showing with 4 additions and 3 deletions.
  1. +4 −3 wx/svg/__init__.py
@@ -46,10 +46,11 @@ def OnPaint(self, event):
then any existing transformations that may be active on the context will be
applied automatically to the SVG shapes.
Note that not all GraphicsContext back-ends are created equal. Specifically, the
Note that not all GraphicsContext backends are created equal. Specifically, the
GDI+ backend (the default on Windows) simply can not support some features that
are commonly used in SVG images, such as applying transforms to gradients. The
Direct2D backend on Windows does much better.
Direct2D backend on Windows does much better, and the Cairo backend is very
good.
Example 2
---------
@@ -359,7 +360,7 @@ def _makePen(self, ctx, shape):


def _chunker(iterable, n, fillvalue=None):
"Collect items from an interable into fixed-length chunks or blocks"
"Collect items from an iterable into fixed-length chunks or blocks"
args = [iter(iterable)] * n
return zip_longest(fillvalue=fillvalue, *args)

0 comments on commit c4f30a1

Please sign in to comment.
You can’t perform that action at this time.