Hello community,
here is the log from the commit of package python-physt for openSUSE:Factory checked in at 2020-01-31 23:56:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-physt (Old)
and /work/SRC/openSUSE:Factory/.python-physt.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-physt"
Fri Jan 31 23:56:55 2020 rev:2 rq:768851 version:0.4.8.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-physt/python-physt.changes 2019-12-10 22:41:51.149821820 +0100
+++ /work/SRC/openSUSE:Factory/.python-physt.new.26092/python-physt.changes 2020-01-31 23:58:04.043675739 +0100
@@ -1,0 +2,8 @@
+Thu Jan 30 17:24:44 UTC 2020 - Todd R
+
+- Update to 0.4.8.3
+ * Added: Binning "human" accepts kind="time"
+ *- Added: find_human_width and related methods in bin_utils
+ *- Fix: No labels and color cycling in scatter plots for collections
+
+-------------------------------------------------------------------
Old:
----
physt-0.4.8.2.tar.gz
New:
----
physt-0.4.8.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-physt.spec ++++++
--- /var/tmp/diff_new_pack.tYfUdn/_old 2020-01-31 23:58:05.571676531 +0100
+++ /var/tmp/diff_new_pack.tYfUdn/_new 2020-01-31 23:58:05.571676531 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-physt
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-physt
-Version: 0.4.8.2
+Version: 0.4.8.3
Release: 0
Summary: Python histogram library
License: MIT
++++++ physt-0.4.8.2.tar.gz -> physt-0.4.8.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/physt-0.4.8.2/MANIFEST.in new/physt-0.4.8.3/MANIFEST.in
--- old/physt-0.4.8.2/MANIFEST.in 2019-11-22 15:20:21.000000000 +0100
+++ new/physt-0.4.8.3/MANIFEST.in 2020-01-21 11:12:54.000000000 +0100
@@ -1,5 +1,8 @@
+include HISTORY.txt
include LICENSE
include MANIFEST.in
include README.md
-include HISTORY.txt
-include physt/example/*.csv
\ No newline at end of file
+include requirements.txt
+
+recursive-include physt *.*
+grafts tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/physt-0.4.8.2/physt/__init__.py new/physt-0.4.8.3/physt/__init__.py
--- old/physt-0.4.8.2/physt/__init__.py 2019-11-22 15:20:21.000000000 +0100
+++ new/physt-0.4.8.3/physt/__init__.py 2020-01-21 11:12:54.000000000 +0100
@@ -10,7 +10,7 @@
"""
from . import binnings
-__version__ = '0.4.8.2'
+__version__ = '0.4.8.3'
def histogram(data, bins=None, *args, **kwargs):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/physt-0.4.8.2/physt/plotting/common.py new/physt-0.4.8.3/physt/plotting/common.py
--- old/physt-0.4.8.2/physt/plotting/common.py 2019-11-22 15:20:21.000000000 +0100
+++ new/physt-0.4.8.3/physt/plotting/common.py 2020-01-21 11:12:54.000000000 +0100
@@ -59,16 +59,19 @@
def get_value_format(value_format: Union[Callable, str] = str) -> Callable[[float], str]:
- """Create a formatting function from a generic value_format argument.
- """
- if value_format is None:
- value_format = ""
+ """Create a formatting function from a generic value_format argument."""
if isinstance(value_format, str):
format_str = "{0:" + value_format + "}"
- def value_format_(x): return format_str.format(x)
+ def value_format_(x):
+ return format_str.format(x)
- return value_format_
+ return value_format_
+
+ if callable(value_format):
+ return value_format
+
+ raise TypeError("`value_format` must be a string or a callable.")
def pop_kwargs_with_prefix(prefix: str, kwargs: dict) -> dict:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/physt-0.4.8.2/physt/plotting/matplotlib.py new/physt-0.4.8.3/physt/plotting/matplotlib.py
--- old/physt-0.4.8.2/physt/plotting/matplotlib.py 2019-11-22 15:20:21.000000000 +0100
+++ new/physt-0.4.8.3/physt/plotting/matplotlib.py 2020-01-21 11:12:54.000000000 +0100
@@ -163,7 +163,7 @@
_, cmap_data = _get_cmap_data(data, kwargs)
kwargs["color"] = cmap(cmap_data)
elif "color" in kwargs or "c" in kwargs:
- kwargs["color"] = kwargs.pop("color", kwargs["c"])
+ kwargs["color"] = kwargs.pop("color", kwargs.get("c", None))
_apply_xy_lims(ax, h1, data, kwargs)
_add_ticks(ax, h1, kwargs)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/physt-0.4.8.2/setup.py new/physt-0.4.8.3/setup.py
--- old/physt-0.4.8.2/setup.py 2019-11-22 15:20:21.000000000 +0100
+++ new/physt-0.4.8.3/setup.py 2020-01-21 11:12:54.000000000 +0100
@@ -18,7 +18,7 @@
import itertools
from setuptools import setup, find_packages
-VERSION = "0.4.8.2"
+VERSION = "0.4.8.3"
options = dict(
name='physt',