[vistrails-dev] [VisTrails] New package for Matplotlib 1.4 (#1133)

Remi Rampin notifications at github.com
Wed Oct 21 11:39:19 EDT 2015


I added sorting for the modulespecs. That doesn't seem to be enough, attributes are still not ordered, and in fact I get more than ordering differences when I generate twice in a row on my machine...

The diff between two consecutive runs of update.py (with matplotlib 1.5.0rc2+57.ga83dead) contains:
```diff
--- a/vistrails/packages/matplotlib14/artists.py
+++ b/vistrails/packages/matplotlib14/artists.py
@@ -3757,2 +3757,2 @@ class MplTickProperties(MplArtistProperties):
-              ("labelcolor", "basic:String",
-                {'optional': True}),
+              ("label", "basic:String",
+                {'optional': True, 'docstring': 'Set the text of ticklabel'}),
@@ -3855,2 +3855,2 @@ class MplTickProperties(MplArtistProperties):
-        if self.has_input('labelcolor'):
-            artist.constructor_props['labelcolor'] = self.get_input('labelcolor')
+        if self.has_input('label'):
+            artist.props['label'] = self.get_input('label')
--- a/vistrails/packages/matplotlib14/mpl_artists.xml
+++ b/vistrails/packages/matplotlib14/mpl_artists.xml
@@ -1854,1 +1854,3 @@ None, to remove the clipping path
-    <inputPortSpec arg="labelcolor" arg_pos="9" constructor_arg="True" name="labelcolor" />
+    <inputPortSpec arg="label" name="label">
+      <docstring>Set the text of ticklabel</docstring>
+    </inputPortSpec>
--- a/vistrails/packages/matplotlib14/mpl_artists_diff.xml
+++ b/vistrails/packages/matplotlib14/mpl_artists_diff.xml
@@ -15,1 +15,1 @@
-  <deletePortSpec code_ref="matplotlib.axis.Tick" port="clip_path" type="input" />
+  <deletePortSpec code_ref="matplotlib.axis.Tick" port="label" type="input" />
```

---
Reply to this email directly or view it on GitHub:
https://github.com/VisTrails/VisTrails/pull/1133#issuecomment-149935933
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vistrails.org/pipermail/vistrails-dev/attachments/20151021/3bb1931e/attachment.html>


More information about the vistrails-dev mailing list