[Python-modules-commits] [python-mplexporter] 99/135: Added ['style']['markersize'] to utils.get_marker_style.
Wolfgang Borgert
debacle at moszumanska.debian.org
Tue Sep 23 21:19:08 UTC 2014
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to branch master
in repository python-mplexporter.
commit 6b6f8f298f64e2be1319a3c4b3b3be4dfd80416f
Author: theengineear <andseier at gmail.com>
Date: Thu Mar 13 11:30:36 2014 -0700
Added ['style']['markersize'] to utils.get_marker_style.
For renderers that want high-level information, 'markersize' would be a
useful parameter. Otherwise, if renderers want a simple size in points,
it has to use the affine transform and the figure's dpi to figure it
out.
---
mplexporter/utils.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/mplexporter/utils.py b/mplexporter/utils.py
index 33af978..e444575 100644
--- a/mplexporter/utils.py
+++ b/mplexporter/utils.py
@@ -161,6 +161,7 @@ def get_marker_style(line):
+ Affine2D().scale(markersize, -markersize))
style['markerpath'] = SVG_path(markerstyle.get_path(),
markertransform)
+ style['markersize'] = markersize
style['zorder'] = line.get_zorder()
return style
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-mplexporter.git
More information about the Python-modules-commits
mailing list