1
0
forked from pool/python-plotly

Accepting request 724149 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/724149
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-plotly?expand=0&rev=13
This commit is contained in:
Dominique Leuenberger 2019-08-19 19:38:06 +00:00 committed by Git OBS Bridge
commit eb4a269415
5 changed files with 45 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b4ae32398e5b862e6d65c8ae8579044df31fd989174f77e25ad91952f3aa5c78
size 6760288

3
plotly-4.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9333f28feacaa0751df04cccfb266463bf5029dcb106d3f81d7af5942fd3d998
size 4853732

1
python-plotly-rpmlintrc Normal file
View File

@ -0,0 +1 @@
addFilter("zero-length .*/site-packages/_plotly_future_/.*.py")

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Fri Aug 16 16:17:42 UTC 2019 - Todd R <toddrme2178@gmail.com>
- Update to 4.1.0
+ Updated
* Updated Plotly.js to version 1.49.1.
* Bars in the figures produced by the `create_gantt` figure factory may now be hidden by clicking on the legend.
* Improved performance when serializing figures containing large numpy arrays.
+ Added
* Added new renderers for displaying figures from within the Databricks and CoCalc notebook services
* Added `indicator` traces
* Added `choroplethmapbox` traces
* Added `densitymapbox` traces
* Added new mapbox `style` values: `open-street-map`, `carto-positron`, `carto-darkmatter`,
`stamen-terrain`, `stamen-toner`, `stamen-watercolor` and `white-bg`
that do not require a Mapbox access token
* Added support for `sourcetype` value `raster` and `image` and `type` `raster`
for mapbox layout layers
* Added `below` attribute to `scattermapbox` traces
* Added support for `below: 'traces'` in mapbox layout layers
* Added `sourceattribution` attribute to mapbox layout layers
* Added `labelangle` and `labelside` attributes to `parcoords` traces
* Added `doubleClickDelay` config option
* Added `showEditInChartStudio` config option
+ Fixed
* Fixed incorrect facet row ordering in figures generated by plotly.express functions
* Fixed "The truth value of an array with more than one element is ambiguous" error when specifying subplot titles as numpy array of strings.
* The `line_3d` plotly express function was not visible by default when importing `*` from `plotly.express`
-------------------------------------------------------------------
Thu Jul 25 17:14:49 UTC 2019 - Todd R <toddrme2178@gmail.com>

View File

@ -18,24 +18,25 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-plotly
Version: 4.0.0
Version: 4.1.0
Release: 0
Summary: Library for collaborative, interactive, publication-quality graphs
License: MIT
Group: Development/Languages/Python
Url: https://github.com/plotly/plotly.py
Source: https://files.pythonhosted.org/packages/py2.py3/p/plotly/plotly-%{version}-py2.py3-none-any.whl
Source: https://files.pythonhosted.org/packages/source/p/plotly/plotly-%{version}.tar.gz
Source100: python-plotly-rpmlintrc
BuildRequires: %{python_module decorator >= 4.0.6}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module ipython}
BuildRequires: %{python_module ipywidgets}
BuildRequires: %{python_module nbformat >= 4.2}
BuildRequires: %{python_module notebook}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module retrying >= 1.3.3}
BuildRequires: %{python_module six}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-decorator >= 4.0.6
@ -103,25 +104,23 @@ always accessible from the graph.
This package provides Jupyter Notebook integration and widgets.
%prep
%setup -c -T
%setup -q -n plotly-%{version}
%build
# Not Needed
%python_build
%install
%python_expand pip%{$python_bin_suffix} install --root=%{buildroot} %{SOURCE0}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_install
%jupyter_move_config
cp %{buildroot}%{python_sitelib}/plotly-%{version}.dist-info/LICENSE.txt .
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%fdupes %{buildroot}%{jupyter_prefix}
%files %{python_files}
%license %{python_sitelib}/plotly-%{version}.dist-info/LICENSE.txt
%license LICENSE.txt
%{python_sitelib}/_plotly_future_/
%{python_sitelib}/_plotly_utils/
%{python_sitelib}/plotly/
%{python_sitelib}/plotly-%{version}.dist-info/
%{python_sitelib}/plotly-%{version}-py*.egg-info
%files %{python_files jupyter}
%license LICENSE.txt