yhat / ggpy

ggplot port for python
http://yhat.github.io/ggpy/
BSD 2-Clause "Simplified" License
3.7k stars 572 forks source link

Git tag / branch for 0.6.8 release #639

Open JoshRosen opened 6 years ago

JoshRosen commented 6 years ago

Hi there! I noticed that PyPI has a ggplot 0.6.8 release (https://pypi.python.org/pypi/ggplot/0.6.8) but I can't seem to find the source code for that version in this repository (I only see a branch for 0.6.6). The source is available in the zip from PyPI, but would it also be possible to host that source in this repository for easier searching and git blame of the released code?

JoshRosen commented 6 years ago

I checked and it looks like the net diff between 0.6.6 and 0.6.8 is tiny, at least based on the .tar.gz from PyPI:

diff --git a/ggplot/__init__.py b/ggplot/__init__.py
index 28334dc..6d091b9 100644
--- a/ggplot/__init__.py
+++ b/ggplot/__init__.py
@@ -16,7 +16,7 @@ _set_mpl_backend()
 # This is the only place the version is specified and
 # used in both setup.py and docs/conf.py to set the
 # version of ggplot.
-__version__ = '0.6.6'
+__version__ = '0.6.8'

 from .qplot import qplot
 from .ggplot import ggplot
diff --git a/ggplot/ggplot.py b/ggplot/ggplot.py
index dc629af..54ef764 100644
--- a/ggplot/ggplot.py
+++ b/ggplot/ggplot.py
@@ -253,9 +253,7 @@ class ggplot(object):
                     # left column gets y scales and the bottom row gets x scales
                     scale_facet_grid(self.n_rows, self.n_columns,
                                      self.facet_pairs, self.facet_scales)
-
                 else: # now facet_wrap > 2 or facet_grid w/ only 1 facet
-
                     for facet, frame in self.data.groupby(self.facets):
                         frame = self._make_plot_data(frame)
                         for geom in self.geoms:
diff --git a/setup.cfg b/setup.cfg
index 2a9acf1..6f08d0e 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,8 @@
 [bdist_wheel]
 universal = 1
+
+[egg_info]
+tag_build =
+tag_date = 0
+tag_svn_revision = 0
+

(Plus the PKG-INFO file).

Posting this here to save time for anyone else who comes here looking for 0.6.8's code.