[yt-svn] commit/yt: 5 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed May 24 07:04:19 PDT 2017


5 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/2407f7009ef9/
Changeset:   2407f7009ef9
User:        jisuoqing
Date:        2017-05-24 03:11:26+00:00
Summary:     Add minorticks for colorbar when symlog is used
Affected #:  1 file

diff -r 0887cc36d758ca16aeeae094946aecfa3bd9a278 -r 2407f7009ef99a79fd3f52a22ea3e057ad3c0915 yt/visualization/plot_window.py
--- a/yt/visualization/plot_window.py
+++ b/yt/visualization/plot_window.py
@@ -982,7 +982,8 @@
             # colorbar minorticks
             if f not in self._cbar_minorticks:
                 self._cbar_minorticks[f] = True
-            if self._cbar_minorticks[f] is True and MPL_VERSION < LooseVersion('2.0.0'):
+            if self._cbar_minorticks[f] is True and MPL_VERSION < LooseVersion('2.0.0') \
+                                                or self._field_transform[f] == symlog_transform:
                 if self._field_transform[f] == linear_transform:
                     self.plots[f].cax.minorticks_on()
                 else:


https://bitbucket.org/yt_analysis/yt/commits/ad4967081af9/
Changeset:   ad4967081af9
User:        jisuoqing
Date:        2017-05-24 03:38:32+00:00
Summary:     Minor adjustment on code style
Affected #:  1 file

diff -r 2407f7009ef99a79fd3f52a22ea3e057ad3c0915 -r ad4967081af9cc39ca35c2f93c42443b56afa31f yt/visualization/plot_window.py
--- a/yt/visualization/plot_window.py
+++ b/yt/visualization/plot_window.py
@@ -982,8 +982,8 @@
             # colorbar minorticks
             if f not in self._cbar_minorticks:
                 self._cbar_minorticks[f] = True
-            if self._cbar_minorticks[f] is True and MPL_VERSION < LooseVersion('2.0.0') \
-                                                or self._field_transform[f] == symlog_transform:
+            if (self._cbar_minorticks[f] is True and MPL_VERSION < LooseVersion('2.0.0')
+                                                 or self._field_transform[f] == symlog_transform):
                 if self._field_transform[f] == linear_transform:
                     self.plots[f].cax.minorticks_on()
                 else:


https://bitbucket.org/yt_analysis/yt/commits/cf32f5e744c5/
Changeset:   cf32f5e744c5
User:        jisuoqing
Date:        2017-05-24 03:47:17+00:00
Summary:     code style adjustment
Affected #:  1 file

diff -r ad4967081af9cc39ca35c2f93c42443b56afa31f -r cf32f5e744c591a8c17bee41eb9e9595e97cf2bd yt/visualization/plot_window.py
--- a/yt/visualization/plot_window.py
+++ b/yt/visualization/plot_window.py
@@ -983,7 +983,7 @@
             if f not in self._cbar_minorticks:
                 self._cbar_minorticks[f] = True
             if (self._cbar_minorticks[f] is True and MPL_VERSION < LooseVersion('2.0.0')
-                                                 or self._field_transform[f] == symlog_transform):
+            or self._field_transform[f] == symlog_transform):
                 if self._field_transform[f] == linear_transform:
                     self.plots[f].cax.minorticks_on()
                 else:


https://bitbucket.org/yt_analysis/yt/commits/247a87a9444c/
Changeset:   247a87a9444c
User:        jisuoqing
Date:        2017-05-24 04:58:33+00:00
Summary:     minor fix
Affected #:  1 file

diff -r cf32f5e744c591a8c17bee41eb9e9595e97cf2bd -r 247a87a9444c4cdcef8d96df1660294bbbcafe85 yt/visualization/plot_window.py
--- a/yt/visualization/plot_window.py
+++ b/yt/visualization/plot_window.py
@@ -983,7 +983,7 @@
             if f not in self._cbar_minorticks:
                 self._cbar_minorticks[f] = True
             if (self._cbar_minorticks[f] is True and MPL_VERSION < LooseVersion('2.0.0')
-            or self._field_transform[f] == symlog_transform):
+                or self._field_transform[f] == symlog_transform):
                 if self._field_transform[f] == linear_transform:
                     self.plots[f].cax.minorticks_on()
                 else:


https://bitbucket.org/yt_analysis/yt/commits/1dbd74959b56/
Changeset:   1dbd74959b56
User:        ngoldbaum
Date:        2017-05-24 14:03:52+00:00
Summary:     Merge pull request #1423 from jisuoqing/symlog_ticks

Add minorticks for colorbar when symlog is used
Affected #:  1 file

diff -r 0887cc36d758ca16aeeae094946aecfa3bd9a278 -r 1dbd74959b56ee16018f20d0deecd5ac1d27e688 yt/visualization/plot_window.py
--- a/yt/visualization/plot_window.py
+++ b/yt/visualization/plot_window.py
@@ -982,7 +982,8 @@
             # colorbar minorticks
             if f not in self._cbar_minorticks:
                 self._cbar_minorticks[f] = True
-            if self._cbar_minorticks[f] is True and MPL_VERSION < LooseVersion('2.0.0'):
+            if (self._cbar_minorticks[f] is True and MPL_VERSION < LooseVersion('2.0.0')
+                or self._field_transform[f] == symlog_transform):
                 if self._field_transform[f] == linear_transform:
                     self.plots[f].cax.minorticks_on()
                 else:

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list