Hello community, here is the log from the commit of package python-seaborn for openSUSE:Factory checked in at 2018-07-22 23:04:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-seaborn (Old) and /work/SRC/openSUSE:Factory/.python-seaborn.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-seaborn" Sun Jul 22 23:04:49 2018 rev:5 rq:624399 version:0.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-seaborn/python-seaborn.changes 2017-11-08 15:10:40.576859442 +0100 +++ /work/SRC/openSUSE:Factory/.python-seaborn.new/python-seaborn.changes 2018-07-22 23:04:49.528917500 +0200 @@ -1,0 +2,157 @@ +Fri Jul 20 15:29:09 UTC 2018 - [email protected] + +- specfile: + * update copyright year + * use pytest to run tests + * remove devel requirement for noarch + * be more specific in %file section + +- update to version 0.9.0: + * New relational plots + + Three completely new plotting functions have been added: + :func:`catplot`, :func:`scatterplot`, and :func:`lineplot`. The + first is a figure-level interface to the latter two that + combines them with a :class:`FacetGrid`. The functions bring the + high-level, dataset-oriented API of the seaborn categorical + plotting functions to more general plots (scatter plots and line + plots). + * Updates to themes and palettes + + Several changes have been made to the seaborn style themes, + context scaling, and color palettes. In general the aim of these + changes was to make the seaborn styles more consistent with the + `style updates in matplotlib 2.0 + <https://matplotlib.org/users/dflt_style_changes.html>`_ and to + leverage some of the new style parameters for better + implementation of some aspects of the seaborn styles. Here is a + list of the changes: + + Reorganized and updated some + :func:`axes_style`/:func:`plotting_context` parameters to take + advantage of improvements in the matplotlib 2.0 update. The + biggest change involves using several new parameterss in the + "style" spec while moving parameters that used to implement the + corresponding aesthetics to the "context" spec. For example, + axes spines and ticks are now off instead of having their + width/length zeroed out for the darkgrid style. That means the + width/length of these elements can now be scaled in different + contexts. The effect is a more cohesive appearance of the plots, + especially in larger contexts. These changes include only + minimal support for the 1.x matplotlib series. Users who are + stuck on matplotlib 1.5 but wish to use seaborn styling may want + to use the seaborn parameters that can be accessed through the + `matplotlib stylesheet interface + <https://matplotlib.org/users/style_sheets.html>`_. + + Updated the seaborn palettes ("deep", "muted", "colorblind", + etc.) to correspond with the new 10-color matplotlib + default. The legacy palettes are now available at "deep6", + "muted6", "colorblind6", etc. Additionally, a few individual + colors were tweaked for better consistency, aesthetics, and + accessibility. + + Calling :func:`color_palette` (or :func:`set_palette`) with a + named qualitative palettes (i.e. one of the seaborn palettes, + the colorbrewer qualitative palettes, or the matplotlib + matplotlib tableau-derived palettes) and no specified number of + colors will return all of the colors in the palette. This means + that for some palettes, the returned list will have a different + length than it did in previous versions. + + Enhanced :func:`color_palette` to accept a parameterized + specification of a cubehelix palette in in a string, prefixed + with ""ch:"" (e.g. ""ch:-.1,.2,l=.7""). Note that keyword + arguments can be spelled out or referenced using only their + first letter. Reversing the palette is accomplished by appending + ""_r"", as with other matplotlib colormaps. This specification + will be accepted by any seaborn function with a "palette=" + parameter. + + Slightly increased the base font sizes in + :func:`plotting_context` and increased the scaling factors for + ""talk"" and ""poster"" contexts. + + Calling :func:`set` will now call :func:`set_color_codes` to + re-assign the single letter color codes by default + * API changes + + The "factorplot" function has been renamed to + :func:`catplot`. The new name ditches the original R-inflected + terminology to use a name that is more consistent with + terminology in pandas and in seaborn itself. This change should + hopefully make :func:`catplot` easier to discover, and it should + make more clear what its role is. "factorplot" still exists and + will pass its arguments through to :func:`catplot` with a + warning. It may be removed eventually, but the transition will + be as gradual as possible. + + The other reason that the "factorplot" name was changed was to + ease another alteration which is that the default "kind" in + :func:`catplot` is now ""strip"" (corresponding to + :func:`stripplot`). This plots a categorical scatter plot which + is usually a much better place to start and is more consistent + with the default in :func:`relplot`. The old default style in + "factorplot" (""point"", corresponding to :func:`pointplot`) + remains available if you want to show a statistical estimation. + + The "lvplot" function has been renamed to :func:`boxenplot`. The + "letter-value" terminology that was used to name the original + kind of plot is obscure, and the abbreviation to "lv" did not + help anything. The new name should make the plot more + discoverable by describing its format (it plots multiple boxes, + also known as "boxen"). As with "factorplot", the "lvplot" + function still exists to provide a relatively smooth transition. + + Renamed the "size" parameter to "height" in multi-plot grid + objects (:class:`FacetGrid`, :class:`PairGrid`, and + :class:`JointGrid`) along with functions that use them + ("factorplot", :func:`lmplot`, :func:`pairplot`, and + :func:`jointplot`) to avoid conflicts with the "size" parameter + that is used in "scatterplot" and "lineplot" (necessary to make + :func:`relplot` work) and also makes the meaning of the + parameter a bit more clear. + + Changed the default diagonal plots in :func:`pairplot` to use + `func`:kdeplot` when a ""hue"" dimension is used. + + Deprecated the statistical annotation component of + :class:`JointGrid`. The method is still available but will be + removed in a future version. + + Two older functions that were deprecated in earlier versions, + "coefplot" and "interactplot", have undergone final removal from + the code base. + * Documentation improvements + + There has been some effort put into improving the + documentation. The biggest change is that the :ref:`introduction + to the library <introduction>` has been completely rewritten to + provide much more information and, critically, examples. In + addition to the high-level motivation, the introduction also + covers some important topics that are often sources of + confusion, like the distinction between figure-level and + axes-level functions, how datasets should be formatted for use + in seaborn, and how to customize the appearance of the plots. + + Other improvements have been made throughout, most notably a + thorough re-write of the :ref:`categorical tutorial + <categorical_tutorial>`. + * Other small enhancements and bug fixes + + Changed :func:`rugplot` to plot a matplotlib "LineCollection" + instead of many "Line2D" objects, providing a big speedup for + large arrays. + + Changed the default off-diagonal plots to use + :func:`scatterplot`. (Note that the ""hue"" currently draws + three separate scatterplots instead of using the hue semantic of + the scatterplot function). + + Changed color handling when using :func:`kdeplot` with two + variables. The default colormap for the 2D density now follows + the color cycle, and the function can use "color" and "label" + kwargs, adding more flexibility and avoiding a warning when + using with multi-plot grids. + + Added the "subplot_kws" parameter to :class:`PairGrid` for more + flexibility. + + Removed a special case in :class:`PairGrid` that defaulted to + drawing stacked histograms on the diagonal axes. + + Fixed :func:`jointplot`/:class:`JointGrid` and :func:`regplot` + so that they now accept list inputs. + + Fixed a bug in :class:`FacetGrid` when using a single row/column + level or using "col_wrap=1". + + Fixed functions that set axis limits so that they preserve + auto-scaling state on matplotlib 2.0. + + Avoided an error when using matplotlib backends that cannot + render a canvas (e.g. PDF). + + Changed the install infrastructure to explicitly declare + dependencies in a way that "pip" is aware of. This means that + "pip install seaborn" will now work in an empty + environment. Additionally, the dependencies are specified with + strict minimal versions. + + Updated the testing infrastructure to execute tests with `pytest + <https://docs.pytest.org/en/latest/>`_ (although many individual + tests still use nose assertion). + +------------------------------------------------------------------- Old: ---- seaborn-0.8.1.tar.gz New: ---- seaborn-0.9.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-seaborn.spec ++++++ --- /var/tmp/diff_new_pack.hbO3qY/_old 2018-07-22 23:04:50.164917264 +0200 +++ /var/tmp/diff_new_pack.hbO3qY/_new 2018-07-22 23:04:50.168917263 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-seaborn # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,39 +16,32 @@ # -# Spurious test failures due to upstream changes -# Should be fixed in next release after 0.7.1 -%bcond_with tests - %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-seaborn -Version: 0.8.1 +Version: 0.9.0 Release: 0 Summary: Statistical data visualization for python License: BSD-3-Clause Group: Development/Languages/Python -Url: https://pypi.python.org/pypi/seaborn/ +URL: https://pypi.python.org/pypi/seaborn/ Source: https://files.pythonhosted.org/packages/source/s/seaborn/seaborn-%{version}.tar.gz BuildRequires: %{python_module Pillow} -BuildRequires: %{python_module devel} BuildRequires: %{python_module fastcluster} +BuildRequires: %{python_module jupyter_ipython} +BuildRequires: %{python_module jupyter_notebook} BuildRequires: %{python_module matplotlib} +BuildRequires: %{python_module nose} BuildRequires: %{python_module numpy-devel} BuildRequires: %{python_module pandas} BuildRequires: %{python_module patsy} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module scipy} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: %{python_module statsmodels} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with tests} -# Testing requirements -BuildRequires: %{python_module jupyter_ipython} -BuildRequires: %{python_module jupyter_notebook} -BuildRequires: %{python_module nose} BuildConflicts: python-buildservice-tweak -%endif Requires: python-matplotlib Requires: python-numpy Requires: python-pandas @@ -58,7 +51,6 @@ Recommends: python-fastcluster Recommends: python-patsy Recommends: python-statsmodels -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -95,17 +87,15 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with tests} %check %{python_expand export PYTHONPATH="%{buildroot}%{$python_sitelib}" -nosetests-%{$python_bin_suffix} +%python_exec -m pytest seaborn } -%endif %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.md +%license LICENSE +%doc README.md %doc licences/ -%{python_sitelib}/* +%{python_sitelib}/seaborn* %changelog ++++++ seaborn-0.8.1.tar.gz -> seaborn-0.9.0.tar.gz ++++++ ++++ 11697 lines of diff (skipped)
