Skip to content

patheffects for Line2d object : rebase of #1015 #1909

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
patheffect.draw_path_collection work with mixed renderer.
  • Loading branch information
leejjoon committed Apr 16, 2013
commit ad11751aecd4ad9c03bf8294041e69f38a307ee6
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
2013-04-16 Added patheffect support for Line2D objects. -JJL

2013-03-19 Added support for passing `linestyle` kwarg to `step` so all `plot`
kwargs are passed to the underlying `plot` call. -TAC

Expand Down
4 changes: 4 additions & 0 deletions lib/matplotlib/patheffects.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ def draw_path_collection(self, renderer,
recommended to use those generators, so that changes to the
behavior of :meth:`draw_path_collection` can be made globally.
"""

if isinstance(renderer, MixedModeRenderer):
renderer = renderer._renderer

path_ids = []
for path, transform in renderer._iter_collection_raw_paths(
master_transform, paths, all_transforms):
Expand Down