[Python-modules-commits] [python-mplexporter] 77/135: Added 'scale' to axis properties, 'props', dictionary.

Wolfgang Borgert debacle at moszumanska.debian.org
Tue Sep 23 21:19:06 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 e5b86c9913550987120f48ef33a87c3ce7e34990
Author: theengineear <andseier at gmail.com>
Date:   Mon Mar 3 20:46:04 2014 -0800

    Added 'scale' to axis properties, 'props', dictionary.
    
    The 'scale' parameter will be 'linear' or 'log'.
---
 mplexporter/utils.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/mplexporter/utils.py b/mplexporter/utils.py
index 75832e9..2d8189d 100644
--- a/mplexporter/utils.py
+++ b/mplexporter/utils.py
@@ -215,6 +215,9 @@ def get_axis_properties(axis):
     else:
         props['tickformat'] = None
 
+    # Get axis scale
+    props['scale'] = axis.get_scale()
+
     # Get associated grid
     props['grid'] = get_grid_style(axis)
 

-- 
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