2017-08-28 15:11:16 +02:00
|
|
|
#
|
|
|
|
# spec file for package python-plotly
|
|
|
|
#
|
2021-03-08 09:27:54 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2017-08-28 15:11:16 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-01-26 22:22:48 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-08-28 15:11:16 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2019-12-06 20:08:47 +01:00
|
|
|
%define skip_python2 1
|
2017-08-28 15:11:16 +02:00
|
|
|
Name: python-plotly
|
2021-09-01 20:57:33 +02:00
|
|
|
Version: 5.3.0
|
2017-08-28 15:11:16 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Library for collaborative, interactive, publication-quality graphs
|
|
|
|
License: MIT
|
2019-09-10 09:34:47 +02:00
|
|
|
URL: https://github.com/plotly/plotly.py
|
2021-09-01 20:57:33 +02:00
|
|
|
# Get the PyPI archive for the bundles JS files
|
2019-08-16 18:26:58 +02:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/p/plotly/plotly-%{version}.tar.gz
|
2021-09-01 20:57:33 +02:00
|
|
|
# Additionally use the GitHub archive for the test suite
|
|
|
|
Source1: https://github.com/plotly/plotly.py/archive/refs/tags/v%{version}.tar.gz#/plotly.py-%{version}-gh.tar.gz
|
2019-08-16 18:26:58 +02:00
|
|
|
Source100: python-plotly-rpmlintrc
|
|
|
|
BuildRequires: %{python_module setuptools}
|
2021-09-01 20:57:33 +02:00
|
|
|
BuildRequires: %{python_module six >= 1.15.0}
|
|
|
|
BuildRequires: %{python_module tenacity >= 6.2.0}
|
2017-08-28 15:11:16 +02:00
|
|
|
BuildRequires: fdupes
|
2021-09-01 20:57:33 +02:00
|
|
|
BuildRequires: jupyter-jupyter_core-filesystem
|
2017-08-28 15:11:16 +02:00
|
|
|
BuildRequires: python-rpm-macros
|
2021-09-01 20:57:33 +02:00
|
|
|
Requires: python-six >= 1.15.0
|
|
|
|
Requires: python-tenacity >= 6.2.0
|
|
|
|
Recommends: python-ipython
|
|
|
|
Recommends: python-matplotlib >= 2.2.2
|
2017-08-28 15:11:16 +02:00
|
|
|
Recommends: python-numpy
|
|
|
|
Recommends: python-pandas
|
2021-09-01 20:57:33 +02:00
|
|
|
Recommends: python-scipy
|
2017-08-28 15:11:16 +02:00
|
|
|
BuildArch: noarch
|
2021-09-01 20:57:33 +02:00
|
|
|
# SECTION test requirements
|
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
BuildRequires: %{python_module requests}
|
|
|
|
BuildRequires: %{python_module Pillow if (%python-base without python36-base)}
|
|
|
|
BuildRequires: %{python_module Shapely if (%python-base without python36-base)}
|
|
|
|
BuildRequires: %{python_module ipykernel if (%python-base without python36-base)}
|
|
|
|
BuildRequires: %{python_module ipython if (%python-base without python36-base)}
|
|
|
|
BuildRequires: %{python_module ipywidgets if (%python-base without python36-base)}
|
|
|
|
BuildRequires: %{python_module jupyter if (%python-base without python36-base)}
|
|
|
|
BuildRequires: %{python_module matplotlib if (%python-base without python36-base)}
|
|
|
|
BuildRequires: %{python_module numpy if (%python-base without python36-base)}
|
|
|
|
BuildRequires: %{python_module pandas if (%python-base without python36-base)}
|
|
|
|
BuildRequires: %{python_module psutil if (%python-base without python36-base)}
|
|
|
|
BuildRequires: %{python_module pyshp if (%python-base without python36-base)}
|
|
|
|
BuildRequires: %{python_module pytz if (%python-base without python36-base)}
|
|
|
|
BuildRequires: %{python_module scikit-image if (%python-base without python36-base)}
|
|
|
|
BuildRequires: %{python_module scipy if (%python-base without python36-base)}
|
|
|
|
BuildRequires: %{python_module statsmodels if (%python-base without python36-base)}
|
|
|
|
BuildRequires: %{python_module xarray if (%python-base without python36-base)}
|
|
|
|
# /SECTION
|
2017-08-28 15:11:16 +02:00
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
Use this package to make collaborative, interactive,
|
|
|
|
publication-quality graphs from Python on https://plot.ly.
|
|
|
|
|
|
|
|
Plotly is an online collaborative data analysis and graphing tool. The
|
|
|
|
Python API allows you to access all of Plotly's functionality from Python.
|
|
|
|
Plotly figures are shared, tracked, and edited all online and the data is
|
|
|
|
always accessible from the graph.
|
|
|
|
|
2019-01-26 22:22:48 +01:00
|
|
|
%package jupyter
|
|
|
|
Summary: Jupyter notebook integration for %{name}
|
2021-09-01 20:57:33 +02:00
|
|
|
Provides: python-jupyterlab-plotly = %{version}-%{release}
|
2019-01-26 22:22:48 +01:00
|
|
|
Requires: %{name} = %{version}
|
Accepting request 707291 from home:TheBlackCat:branches:devel:languages:python:numeric
- Fix jupyter dependencies.
- Update to 3.10.0
+ Updated
* Updated Plotly.js to version 1.48.1.
+ Added
* Added funnel trace
* Added funnelarea traces
* Added support for shared color axes via coloraxis attributes in the layout
* Added support for sorting categorical cartesian axes by value
* Added `bingroup` to `histogram`, `histogram2d` and `histogram2dcontour`
to group traces to have compatible auto-bin values
* Add legend `itemclick` and `itemdoubleclick` attributes to set or disable
the legend item click and double-click behavior
* Added support for calling orca through [Xvfb](https://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml)
to support static image export on Linux when X11 is not available
+ Fixed
* Fixed `PlotlyJSONEncoder` encoding error when `simplejson` is installed
* HTML export now honors the figure height specified in the figure template
* Fixed display height of figure displayed in JupyterLab
* Fixed honouring of the `validate=False` option for all renderer types
- Update to 3.9.0
+ Updated
* Updated Plotly.js to version 1.47.4.
+ Added
* Added "magic underscore" support for specifying nested figure properties
* Added `select_traces`, `for_each_trace`, and `update_traces` figure
methods for accessing and updating traces by subplot location and trace
properties
* Added `select_*`, `for_each_*`, and `update_*` figure methods for
accessing and updating subplot objects (`xaxis`, `scene`, `polar`, etc)
* Added support for Dash Design Kit style color specifications
* Added support for the `plotly_unselect` plotly.js event in a new
`on_unselect` trace method
+ Changed
* Changed the default colorscale to be `plasma` for the `plotly`, `plotly_white`, and
`plotly_dark` templates for plotly.py version 4
* Reordered the default colorway for the `plotly`, `plotly_white`, and
`plotly_dark` templates for plotly.py version 4
+ Fixed
* Fixed package listing in setup.py
* Fixed built-in templates so that `heatmap` colorscales can be overridden
without specifying `autocolorscale=False`
* Fix `UnboundLocalError` error in the presence of a missing or corrupt
`~/.plotly/.config` file
* Fixed error when combining `sankey` traces with cartesian subplots
OBS-URL: https://build.opensuse.org/request/show/707291
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=6
2019-06-03 20:51:29 +02:00
|
|
|
Requires: jupyter-plotly = %{version}
|
2021-09-01 20:57:33 +02:00
|
|
|
Requires: python-ipywidgets >= 7.6
|
|
|
|
Requires: (python-jupyterlab or python-notebook)
|
2019-01-26 22:22:48 +01:00
|
|
|
|
|
|
|
%description jupyter
|
|
|
|
Use this package to make collaborative, interactive,
|
|
|
|
publication-quality graphs from Python on https://plot.ly.
|
|
|
|
|
|
|
|
Plotly is an online collaborative data analysis and graphing tool. The
|
|
|
|
Python API allows you to access all of Plotly's functionality from Python.
|
|
|
|
Plotly figures are shared, tracked, and edited all online and the data is
|
|
|
|
always accessible from the graph.
|
|
|
|
|
2021-09-01 20:57:33 +02:00
|
|
|
This package provides Jupyterlab and Notebook integration and widgets.
|
2019-01-26 22:22:48 +01:00
|
|
|
|
Accepting request 707291 from home:TheBlackCat:branches:devel:languages:python:numeric
- Fix jupyter dependencies.
- Update to 3.10.0
+ Updated
* Updated Plotly.js to version 1.48.1.
+ Added
* Added funnel trace
* Added funnelarea traces
* Added support for shared color axes via coloraxis attributes in the layout
* Added support for sorting categorical cartesian axes by value
* Added `bingroup` to `histogram`, `histogram2d` and `histogram2dcontour`
to group traces to have compatible auto-bin values
* Add legend `itemclick` and `itemdoubleclick` attributes to set or disable
the legend item click and double-click behavior
* Added support for calling orca through [Xvfb](https://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml)
to support static image export on Linux when X11 is not available
+ Fixed
* Fixed `PlotlyJSONEncoder` encoding error when `simplejson` is installed
* HTML export now honors the figure height specified in the figure template
* Fixed display height of figure displayed in JupyterLab
* Fixed honouring of the `validate=False` option for all renderer types
- Update to 3.9.0
+ Updated
* Updated Plotly.js to version 1.47.4.
+ Added
* Added "magic underscore" support for specifying nested figure properties
* Added `select_traces`, `for_each_trace`, and `update_traces` figure
methods for accessing and updating traces by subplot location and trace
properties
* Added `select_*`, `for_each_*`, and `update_*` figure methods for
accessing and updating subplot objects (`xaxis`, `scene`, `polar`, etc)
* Added support for Dash Design Kit style color specifications
* Added support for the `plotly_unselect` plotly.js event in a new
`on_unselect` trace method
+ Changed
* Changed the default colorscale to be `plasma` for the `plotly`, `plotly_white`, and
`plotly_dark` templates for plotly.py version 4
* Reordered the default colorway for the `plotly`, `plotly_white`, and
`plotly_dark` templates for plotly.py version 4
+ Fixed
* Fixed package listing in setup.py
* Fixed built-in templates so that `heatmap` colorscales can be overridden
without specifying `autocolorscale=False`
* Fix `UnboundLocalError` error in the presence of a missing or corrupt
`~/.plotly/.config` file
* Fixed error when combining `sankey` traces with cartesian subplots
OBS-URL: https://build.opensuse.org/request/show/707291
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=6
2019-06-03 20:51:29 +02:00
|
|
|
%package -n jupyter-plotly
|
|
|
|
Summary: Jupyter notebook integration for %{name}
|
2021-09-01 20:57:33 +02:00
|
|
|
Provides: jupyterlab-plotly = %{version}-%{release}
|
Accepting request 707291 from home:TheBlackCat:branches:devel:languages:python:numeric
- Fix jupyter dependencies.
- Update to 3.10.0
+ Updated
* Updated Plotly.js to version 1.48.1.
+ Added
* Added funnel trace
* Added funnelarea traces
* Added support for shared color axes via coloraxis attributes in the layout
* Added support for sorting categorical cartesian axes by value
* Added `bingroup` to `histogram`, `histogram2d` and `histogram2dcontour`
to group traces to have compatible auto-bin values
* Add legend `itemclick` and `itemdoubleclick` attributes to set or disable
the legend item click and double-click behavior
* Added support for calling orca through [Xvfb](https://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml)
to support static image export on Linux when X11 is not available
+ Fixed
* Fixed `PlotlyJSONEncoder` encoding error when `simplejson` is installed
* HTML export now honors the figure height specified in the figure template
* Fixed display height of figure displayed in JupyterLab
* Fixed honouring of the `validate=False` option for all renderer types
- Update to 3.9.0
+ Updated
* Updated Plotly.js to version 1.47.4.
+ Added
* Added "magic underscore" support for specifying nested figure properties
* Added `select_traces`, `for_each_trace`, and `update_traces` figure
methods for accessing and updating traces by subplot location and trace
properties
* Added `select_*`, `for_each_*`, and `update_*` figure methods for
accessing and updating subplot objects (`xaxis`, `scene`, `polar`, etc)
* Added support for Dash Design Kit style color specifications
* Added support for the `plotly_unselect` plotly.js event in a new
`on_unselect` trace method
+ Changed
* Changed the default colorscale to be `plasma` for the `plotly`, `plotly_white`, and
`plotly_dark` templates for plotly.py version 4
* Reordered the default colorway for the `plotly`, `plotly_white`, and
`plotly_dark` templates for plotly.py version 4
+ Fixed
* Fixed package listing in setup.py
* Fixed built-in templates so that `heatmap` colorscales can be overridden
without specifying `autocolorscale=False`
* Fix `UnboundLocalError` error in the presence of a missing or corrupt
`~/.plotly/.config` file
* Fixed error when combining `sankey` traces with cartesian subplots
OBS-URL: https://build.opensuse.org/request/show/707291
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=6
2019-06-03 20:51:29 +02:00
|
|
|
Requires: python3-plotly-jupyter = %{version}
|
|
|
|
|
|
|
|
%description -n jupyter-plotly
|
|
|
|
Use this package to make collaborative, interactive,
|
|
|
|
publication-quality graphs from Python on https://plot.ly.
|
|
|
|
|
|
|
|
Plotly is an online collaborative data analysis and graphing tool. The
|
|
|
|
Python API allows you to access all of Plotly's functionality from Python.
|
|
|
|
Plotly figures are shared, tracked, and edited all online and the data is
|
|
|
|
always accessible from the graph.
|
|
|
|
|
2021-09-01 20:57:33 +02:00
|
|
|
This package provides the flavorless configuration for the
|
|
|
|
Jupyterlab and Notebook integration and widgets.
|
Accepting request 707291 from home:TheBlackCat:branches:devel:languages:python:numeric
- Fix jupyter dependencies.
- Update to 3.10.0
+ Updated
* Updated Plotly.js to version 1.48.1.
+ Added
* Added funnel trace
* Added funnelarea traces
* Added support for shared color axes via coloraxis attributes in the layout
* Added support for sorting categorical cartesian axes by value
* Added `bingroup` to `histogram`, `histogram2d` and `histogram2dcontour`
to group traces to have compatible auto-bin values
* Add legend `itemclick` and `itemdoubleclick` attributes to set or disable
the legend item click and double-click behavior
* Added support for calling orca through [Xvfb](https://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml)
to support static image export on Linux when X11 is not available
+ Fixed
* Fixed `PlotlyJSONEncoder` encoding error when `simplejson` is installed
* HTML export now honors the figure height specified in the figure template
* Fixed display height of figure displayed in JupyterLab
* Fixed honouring of the `validate=False` option for all renderer types
- Update to 3.9.0
+ Updated
* Updated Plotly.js to version 1.47.4.
+ Added
* Added "magic underscore" support for specifying nested figure properties
* Added `select_traces`, `for_each_trace`, and `update_traces` figure
methods for accessing and updating traces by subplot location and trace
properties
* Added `select_*`, `for_each_*`, and `update_*` figure methods for
accessing and updating subplot objects (`xaxis`, `scene`, `polar`, etc)
* Added support for Dash Design Kit style color specifications
* Added support for the `plotly_unselect` plotly.js event in a new
`on_unselect` trace method
+ Changed
* Changed the default colorscale to be `plasma` for the `plotly`, `plotly_white`, and
`plotly_dark` templates for plotly.py version 4
* Reordered the default colorway for the `plotly`, `plotly_white`, and
`plotly_dark` templates for plotly.py version 4
+ Fixed
* Fixed package listing in setup.py
* Fixed built-in templates so that `heatmap` colorscales can be overridden
without specifying `autocolorscale=False`
* Fix `UnboundLocalError` error in the presence of a missing or corrupt
`~/.plotly/.config` file
* Fixed error when combining `sankey` traces with cartesian subplots
OBS-URL: https://build.opensuse.org/request/show/707291
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=6
2019-06-03 20:51:29 +02:00
|
|
|
|
2017-08-28 15:11:16 +02:00
|
|
|
%prep
|
2021-09-01 20:57:33 +02:00
|
|
|
%setup -q -n plotly-%{version} -b 1
|
|
|
|
# remove script interpreter line in non-executable script
|
|
|
|
sed -i '1{/env python/ d}' _plotly_utils/png.py
|
|
|
|
# homogenize mtime of all __init__.py files for deduplicated compile cache consistency
|
|
|
|
find . -name __init__.py -exec touch -m -r plotly/__init__.py '{}' ';'
|
2017-08-28 15:11:16 +02:00
|
|
|
|
|
|
|
%build
|
2019-08-16 18:26:58 +02:00
|
|
|
%python_build
|
2017-08-28 15:11:16 +02:00
|
|
|
|
|
|
|
%install
|
2019-08-16 18:26:58 +02:00
|
|
|
%python_install
|
2019-11-10 11:59:13 +01:00
|
|
|
%jupyter_move_config
|
2019-08-16 18:26:58 +02:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2021-09-01 20:57:33 +02:00
|
|
|
%fdupes %{buildroot}%{_jupyter_prefix}
|
|
|
|
|
|
|
|
%check
|
|
|
|
# No test suite in the PyPI package, which is required for the bundled JS files, go to the GitHub repo tree now.
|
|
|
|
cd ../plotly.py-%{version}/packages/python/plotly
|
|
|
|
%{pytest plotly/tests/test_core
|
|
|
|
# cleanup between flavor runs
|
|
|
|
rm plotly/tests/test_core/test_offline/plotly.min.js
|
|
|
|
}
|
|
|
|
# most of the optional packages are not available on python36: skip entire test suite
|
|
|
|
python36_skip="-V"
|
|
|
|
# not available
|
|
|
|
donttest="test_kaleido"
|
|
|
|
# API parameter mismatches and precision errors
|
|
|
|
donttest+=" or test_matplotlylib"
|
|
|
|
%pytest ${$python_skip} plotly/tests/test_optional -k "not ($donttest)"
|
2019-01-26 22:22:48 +01:00
|
|
|
|
2017-08-28 15:11:16 +02:00
|
|
|
%files %{python_files}
|
2019-08-16 18:26:58 +02:00
|
|
|
%license LICENSE.txt
|
Accepting request 707291 from home:TheBlackCat:branches:devel:languages:python:numeric
- Fix jupyter dependencies.
- Update to 3.10.0
+ Updated
* Updated Plotly.js to version 1.48.1.
+ Added
* Added funnel trace
* Added funnelarea traces
* Added support for shared color axes via coloraxis attributes in the layout
* Added support for sorting categorical cartesian axes by value
* Added `bingroup` to `histogram`, `histogram2d` and `histogram2dcontour`
to group traces to have compatible auto-bin values
* Add legend `itemclick` and `itemdoubleclick` attributes to set or disable
the legend item click and double-click behavior
* Added support for calling orca through [Xvfb](https://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml)
to support static image export on Linux when X11 is not available
+ Fixed
* Fixed `PlotlyJSONEncoder` encoding error when `simplejson` is installed
* HTML export now honors the figure height specified in the figure template
* Fixed display height of figure displayed in JupyterLab
* Fixed honouring of the `validate=False` option for all renderer types
- Update to 3.9.0
+ Updated
* Updated Plotly.js to version 1.47.4.
+ Added
* Added "magic underscore" support for specifying nested figure properties
* Added `select_traces`, `for_each_trace`, and `update_traces` figure
methods for accessing and updating traces by subplot location and trace
properties
* Added `select_*`, `for_each_*`, and `update_*` figure methods for
accessing and updating subplot objects (`xaxis`, `scene`, `polar`, etc)
* Added support for Dash Design Kit style color specifications
* Added support for the `plotly_unselect` plotly.js event in a new
`on_unselect` trace method
+ Changed
* Changed the default colorscale to be `plasma` for the `plotly`, `plotly_white`, and
`plotly_dark` templates for plotly.py version 4
* Reordered the default colorway for the `plotly`, `plotly_white`, and
`plotly_dark` templates for plotly.py version 4
+ Fixed
* Fixed package listing in setup.py
* Fixed built-in templates so that `heatmap` colorscales can be overridden
without specifying `autocolorscale=False`
* Fix `UnboundLocalError` error in the presence of a missing or corrupt
`~/.plotly/.config` file
* Fixed error when combining `sankey` traces with cartesian subplots
OBS-URL: https://build.opensuse.org/request/show/707291
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=6
2019-06-03 20:51:29 +02:00
|
|
|
%{python_sitelib}/_plotly_future_/
|
2019-01-26 22:22:48 +01:00
|
|
|
%{python_sitelib}/_plotly_utils/
|
|
|
|
%{python_sitelib}/plotly/
|
2019-08-16 18:26:58 +02:00
|
|
|
%{python_sitelib}/plotly-%{version}-py*.egg-info
|
2019-01-26 22:22:48 +01:00
|
|
|
|
|
|
|
%files %{python_files jupyter}
|
Accepting request 707291 from home:TheBlackCat:branches:devel:languages:python:numeric
- Fix jupyter dependencies.
- Update to 3.10.0
+ Updated
* Updated Plotly.js to version 1.48.1.
+ Added
* Added funnel trace
* Added funnelarea traces
* Added support for shared color axes via coloraxis attributes in the layout
* Added support for sorting categorical cartesian axes by value
* Added `bingroup` to `histogram`, `histogram2d` and `histogram2dcontour`
to group traces to have compatible auto-bin values
* Add legend `itemclick` and `itemdoubleclick` attributes to set or disable
the legend item click and double-click behavior
* Added support for calling orca through [Xvfb](https://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml)
to support static image export on Linux when X11 is not available
+ Fixed
* Fixed `PlotlyJSONEncoder` encoding error when `simplejson` is installed
* HTML export now honors the figure height specified in the figure template
* Fixed display height of figure displayed in JupyterLab
* Fixed honouring of the `validate=False` option for all renderer types
- Update to 3.9.0
+ Updated
* Updated Plotly.js to version 1.47.4.
+ Added
* Added "magic underscore" support for specifying nested figure properties
* Added `select_traces`, `for_each_trace`, and `update_traces` figure
methods for accessing and updating traces by subplot location and trace
properties
* Added `select_*`, `for_each_*`, and `update_*` figure methods for
accessing and updating subplot objects (`xaxis`, `scene`, `polar`, etc)
* Added support for Dash Design Kit style color specifications
* Added support for the `plotly_unselect` plotly.js event in a new
`on_unselect` trace method
+ Changed
* Changed the default colorscale to be `plasma` for the `plotly`, `plotly_white`, and
`plotly_dark` templates for plotly.py version 4
* Reordered the default colorway for the `plotly`, `plotly_white`, and
`plotly_dark` templates for plotly.py version 4
+ Fixed
* Fixed package listing in setup.py
* Fixed built-in templates so that `heatmap` colorscales can be overridden
without specifying `autocolorscale=False`
* Fix `UnboundLocalError` error in the presence of a missing or corrupt
`~/.plotly/.config` file
* Fixed error when combining `sankey` traces with cartesian subplots
OBS-URL: https://build.opensuse.org/request/show/707291
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=6
2019-06-03 20:51:29 +02:00
|
|
|
%license LICENSE.txt
|
2021-09-01 20:57:33 +02:00
|
|
|
%{python_sitelib}/jupyterlab_plotly
|
Accepting request 707291 from home:TheBlackCat:branches:devel:languages:python:numeric
- Fix jupyter dependencies.
- Update to 3.10.0
+ Updated
* Updated Plotly.js to version 1.48.1.
+ Added
* Added funnel trace
* Added funnelarea traces
* Added support for shared color axes via coloraxis attributes in the layout
* Added support for sorting categorical cartesian axes by value
* Added `bingroup` to `histogram`, `histogram2d` and `histogram2dcontour`
to group traces to have compatible auto-bin values
* Add legend `itemclick` and `itemdoubleclick` attributes to set or disable
the legend item click and double-click behavior
* Added support for calling orca through [Xvfb](https://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml)
to support static image export on Linux when X11 is not available
+ Fixed
* Fixed `PlotlyJSONEncoder` encoding error when `simplejson` is installed
* HTML export now honors the figure height specified in the figure template
* Fixed display height of figure displayed in JupyterLab
* Fixed honouring of the `validate=False` option for all renderer types
- Update to 3.9.0
+ Updated
* Updated Plotly.js to version 1.47.4.
+ Added
* Added "magic underscore" support for specifying nested figure properties
* Added `select_traces`, `for_each_trace`, and `update_traces` figure
methods for accessing and updating traces by subplot location and trace
properties
* Added `select_*`, `for_each_*`, and `update_*` figure methods for
accessing and updating subplot objects (`xaxis`, `scene`, `polar`, etc)
* Added support for Dash Design Kit style color specifications
* Added support for the `plotly_unselect` plotly.js event in a new
`on_unselect` trace method
+ Changed
* Changed the default colorscale to be `plasma` for the `plotly`, `plotly_white`, and
`plotly_dark` templates for plotly.py version 4
* Reordered the default colorway for the `plotly`, `plotly_white`, and
`plotly_dark` templates for plotly.py version 4
+ Fixed
* Fixed package listing in setup.py
* Fixed built-in templates so that `heatmap` colorscales can be overridden
without specifying `autocolorscale=False`
* Fix `UnboundLocalError` error in the presence of a missing or corrupt
`~/.plotly/.config` file
* Fixed error when combining `sankey` traces with cartesian subplots
OBS-URL: https://build.opensuse.org/request/show/707291
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=6
2019-06-03 20:51:29 +02:00
|
|
|
|
|
|
|
%files -n jupyter-plotly
|
|
|
|
%license LICENSE.txt
|
2021-09-01 20:57:33 +02:00
|
|
|
%config %{_jupyter_nb_notebook_confdir}/jupyterlab-plotly.json
|
2017-08-28 15:11:16 +02:00
|
|
|
|
|
|
|
%changelog
|