2017-08-28 15:11:16 +02:00
|
|
|
#
|
|
|
|
# spec file for package python-plotly
|
|
|
|
#
|
- update to 5.15.0:
* Updated Plotly.js from version 2.20.0 to version 2.24.1. See
the plotly.js CHANGELOG for more information. Notable changes
include:
* Add pattern to pie, funnelarea, sunburst, icicle and treemap
traces [#6601, #6619, #6622, #6626, #6627, #6628, #6629],
with thanks to @thierryVergult for the contribution!
* Add `texttemplate` to shape.label for parametric shapes i.e.
line, rect and circle [#6527],
* Add strict option to custom bundle command [#6557],
* Add `legend` references to traces and `legend2`, `legend3`,
etc. to layout,
* also add `visible` to legend i.e. to allow positioning
multiple legends on a graph [#6535],
* Add `legend.xref` and `legend.yref` to enable container-
referenced positioning of legends [#6589], with thanks to
Gamma Technologies for sponsoring the related development.
* Add `colorbar.xref` and `colorbar.yref` to enable container-
referenced positioning of colorbars [#6593], with thanks to
Gamma Technologies for sponsoring the related development.
* `px` methods now accept data-frame-like objects that support
a `to_pandas()` method, such as polars, cudf, vaex etc
* Fixed another compatibility issue with Pandas 2.0, just
affecting `px.*(line_close=True)`
* Empty pandas dataframe with facet row/column set no longer
fails
* Added some rounding to the `make_subplots` function to handle
situations where the user-input specs cause the domain to
exceed 1 by small amounts
* Sanitize JSON output to prevent an XSS vector when graphs are
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=57
2024-03-01 11:06:06 +01:00
|
|
|
# Copyright (c) 2024 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
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-plotly
|
2024-05-27 16:14:25 +02:00
|
|
|
Version: 5.22.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
|
2024-06-03 18:21:01 +02:00
|
|
|
# Use the GitHub archive for the test suite
|
|
|
|
Source0: https://github.com/plotly/plotly.py/archive/refs/tags/v%{version}.tar.gz#/plotly.py-%{version}-gh.tar.gz
|
|
|
|
# package-lock.json file generated with command in packages/javascript/jupyterlab-plotly:
|
|
|
|
# npm install --package-lock-only --legacy-peer-deps --ignore-scripts
|
|
|
|
Source10: package-lock.json
|
|
|
|
# node_modules generated using "osc service mr" with the https://github.com/openSUSE/obs-service-node_modules
|
|
|
|
Source11: node_modules.spec.inc
|
|
|
|
%include %{_sourcedir}/node_modules.spec.inc
|
2019-08-16 18:26:58 +02:00
|
|
|
Source100: python-plotly-rpmlintrc
|
2024-06-03 18:21:01 +02:00
|
|
|
# PATCH-FIX-UPSTREAM plotly-pr4622-np2.patch gh#plotly/plotly.py#4622
|
|
|
|
Patch0: plotly-pr4622-np2.patch
|
2022-12-24 17:22:24 +01:00
|
|
|
BuildRequires: %{python_module base >= 3.6}
|
|
|
|
BuildRequires: %{python_module jupyterlab >= 3}
|
|
|
|
BuildRequires: %{python_module notebook >= 5.3}
|
Accepting request 1091723 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 5.14.1
* Fixed compatibility issue with Pandas 2.0 [#4103]
- Release 5.14.0
* Updated Plotly.js from version 2.18.2 to version 2.20.0. See
the plotly.js CHANGELOG for more information. Notable changes
include:
* Add title.automargin to enable automatic top and bottom
margining for both container and paper referenced titles
[#6428], with thanks to Gamma Technologies for sponsoring the
related development.
* Add label attribute to shapes [#6454], with thanks to the
Volkswagen Center of Excellence for Battery Systems for
sponsoring development!
* Add labelalias to various axes namely cartesian, gl3d, polar,
smith, ternary, carpet, indicator and colorbar [#6481], this
feature was anonymously sponsored: thank you to our sponsor!
* Key errors no longer precalculated when performing updates on
plots [#4101]
* Fixed an issue with characters displaying incorrectly, by
adding charset="utf-8" to scripts in to_html [#4114]
* Added packaging to install requirements, fixing a No module
named 'packaging error on Python 3.6 [#4113]
* Added option to allow passing a column name as a str in
hover_data and custom_data in plotly.express [4083]
OBS-URL: https://build.opensuse.org/request/show/1091723
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=55
2023-06-09 07:08:43 +02:00
|
|
|
BuildRequires: %{python_module packaging}
|
2022-12-24 17:22:24 +01:00
|
|
|
BuildRequires: %{python_module pip}
|
2019-08-16 18:26:58 +02:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2021-09-01 20:57:33 +02:00
|
|
|
BuildRequires: %{python_module tenacity >= 6.2.0}
|
2022-12-24 17:22:24 +01:00
|
|
|
BuildRequires: %{python_module wheel}
|
2017-08-28 15:11:16 +02:00
|
|
|
BuildRequires: fdupes
|
2022-01-12 19:42:29 +01:00
|
|
|
BuildRequires: jupyter-rpm-macros
|
2024-06-03 18:21:01 +02:00
|
|
|
BuildRequires: local-npm-registry
|
2017-08-28 15:11:16 +02:00
|
|
|
BuildRequires: python-rpm-macros
|
Accepting request 1091723 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 5.14.1
* Fixed compatibility issue with Pandas 2.0 [#4103]
- Release 5.14.0
* Updated Plotly.js from version 2.18.2 to version 2.20.0. See
the plotly.js CHANGELOG for more information. Notable changes
include:
* Add title.automargin to enable automatic top and bottom
margining for both container and paper referenced titles
[#6428], with thanks to Gamma Technologies for sponsoring the
related development.
* Add label attribute to shapes [#6454], with thanks to the
Volkswagen Center of Excellence for Battery Systems for
sponsoring development!
* Add labelalias to various axes namely cartesian, gl3d, polar,
smith, ternary, carpet, indicator and colorbar [#6481], this
feature was anonymously sponsored: thank you to our sponsor!
* Key errors no longer precalculated when performing updates on
plots [#4101]
* Fixed an issue with characters displaying incorrectly, by
adding charset="utf-8" to scripts in to_html [#4114]
* Added packaging to install requirements, fixing a No module
named 'packaging error on Python 3.6 [#4113]
* Added option to allow passing a column name as a str in
hover_data and custom_data in plotly.express [4083]
OBS-URL: https://build.opensuse.org/request/show/1091723
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=55
2023-06-09 07:08:43 +02:00
|
|
|
Requires: python-packaging
|
2021-09-01 20:57:33 +02:00
|
|
|
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
|
2022-01-12 19:42:29 +01:00
|
|
|
BuildRequires: %{python_module Pillow}
|
|
|
|
BuildRequires: %{python_module ipykernel}
|
|
|
|
BuildRequires: %{python_module ipython}
|
|
|
|
BuildRequires: %{python_module ipywidgets}
|
|
|
|
BuildRequires: %{python_module jupyter}
|
|
|
|
BuildRequires: %{python_module matplotlib}
|
|
|
|
BuildRequires: %{python_module numpy}
|
|
|
|
BuildRequires: %{python_module pandas}
|
|
|
|
BuildRequires: %{python_module psutil}
|
|
|
|
BuildRequires: %{python_module pyshp}
|
2021-09-01 20:57:33 +02:00
|
|
|
BuildRequires: %{python_module pytest}
|
2022-01-12 19:42:29 +01:00
|
|
|
BuildRequires: %{python_module pytz}
|
2021-09-01 20:57:33 +02:00
|
|
|
BuildRequires: %{python_module requests}
|
2022-01-12 19:42:29 +01:00
|
|
|
BuildRequires: %{python_module scikit-image}
|
|
|
|
BuildRequires: %{python_module scipy}
|
|
|
|
BuildRequires: %{python_module statsmodels}
|
Accepting request 1091723 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 5.14.1
* Fixed compatibility issue with Pandas 2.0 [#4103]
- Release 5.14.0
* Updated Plotly.js from version 2.18.2 to version 2.20.0. See
the plotly.js CHANGELOG for more information. Notable changes
include:
* Add title.automargin to enable automatic top and bottom
margining for both container and paper referenced titles
[#6428], with thanks to Gamma Technologies for sponsoring the
related development.
* Add label attribute to shapes [#6454], with thanks to the
Volkswagen Center of Excellence for Battery Systems for
sponsoring development!
* Add labelalias to various axes namely cartesian, gl3d, polar,
smith, ternary, carpet, indicator and colorbar [#6481], this
feature was anonymously sponsored: thank you to our sponsor!
* Key errors no longer precalculated when performing updates on
plots [#4101]
* Fixed an issue with characters displaying incorrectly, by
adding charset="utf-8" to scripts in to_html [#4114]
* Added packaging to install requirements, fixing a No module
named 'packaging error on Python 3.6 [#4113]
* Added option to allow passing a column name as a str in
hover_data and custom_data in plotly.express [4083]
OBS-URL: https://build.opensuse.org/request/show/1091723
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=55
2023-06-09 07:08:43 +02:00
|
|
|
BuildRequires: %{python_module xarray}
|
2021-09-01 20:57:33 +02:00
|
|
|
# /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}
|
|
|
|
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}
|
Accepting request 1091723 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 5.14.1
* Fixed compatibility issue with Pandas 2.0 [#4103]
- Release 5.14.0
* Updated Plotly.js from version 2.18.2 to version 2.20.0. See
the plotly.js CHANGELOG for more information. Notable changes
include:
* Add title.automargin to enable automatic top and bottom
margining for both container and paper referenced titles
[#6428], with thanks to Gamma Technologies for sponsoring the
related development.
* Add label attribute to shapes [#6454], with thanks to the
Volkswagen Center of Excellence for Battery Systems for
sponsoring development!
* Add labelalias to various axes namely cartesian, gl3d, polar,
smith, ternary, carpet, indicator and colorbar [#6481], this
feature was anonymously sponsored: thank you to our sponsor!
* Key errors no longer precalculated when performing updates on
plots [#4101]
* Fixed an issue with characters displaying incorrectly, by
adding charset="utf-8" to scripts in to_html [#4114]
* Added packaging to install requirements, fixing a No module
named 'packaging error on Python 3.6 [#4113]
* Added option to allow passing a column name as a str in
hover_data and custom_data in plotly.express [4083]
OBS-URL: https://build.opensuse.org/request/show/1091723
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=55
2023-06-09 07:08:43 +02:00
|
|
|
# So that any of the flavor satisifies the jupyter package
|
|
|
|
Provides: jupyterpython(plotly-jupyter) = %{version}
|
2021-09-01 20:57:33 +02:00
|
|
|
Requires: python-ipywidgets >= 7.6
|
2022-12-24 17:22:24 +01:00
|
|
|
Requires: (python-jupyterlab >= 3 or python-notebook >= 5.3)
|
2021-09-09 13:40:04 +02:00
|
|
|
Provides: python-jupyterlab-plotly = %{version}-%{release}
|
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}
|
Accepting request 1091723 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 5.14.1
* Fixed compatibility issue with Pandas 2.0 [#4103]
- Release 5.14.0
* Updated Plotly.js from version 2.18.2 to version 2.20.0. See
the plotly.js CHANGELOG for more information. Notable changes
include:
* Add title.automargin to enable automatic top and bottom
margining for both container and paper referenced titles
[#6428], with thanks to Gamma Technologies for sponsoring the
related development.
* Add label attribute to shapes [#6454], with thanks to the
Volkswagen Center of Excellence for Battery Systems for
sponsoring development!
* Add labelalias to various axes namely cartesian, gl3d, polar,
smith, ternary, carpet, indicator and colorbar [#6481], this
feature was anonymously sponsored: thank you to our sponsor!
* Key errors no longer precalculated when performing updates on
plots [#4101]
* Fixed an issue with characters displaying incorrectly, by
adding charset="utf-8" to scripts in to_html [#4114]
* Added packaging to install requirements, fixing a No module
named 'packaging error on Python 3.6 [#4113]
* Added option to allow passing a column name as a str in
hover_data and custom_data in plotly.express [4083]
OBS-URL: https://build.opensuse.org/request/show/1091723
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=55
2023-06-09 07:08:43 +02:00
|
|
|
Requires: jupyterpython(plotly-jupyter) = %{version}
|
2021-09-09 13:40:04 +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
|
|
|
|
|
|
|
%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
|
2024-06-03 18:21:01 +02:00
|
|
|
%autosetup -p4 -n plotly.py-%{version}/packages/python/plotly
|
|
|
|
pushd ../../javascript/jupyterlab-plotly/
|
|
|
|
rm package-lock.json
|
|
|
|
# allow builder v4
|
|
|
|
sed -i '/jupyterlab.builder/ s/\^3/>=3/' package.json
|
|
|
|
local-npm-registry %{_sourcedir} install --include=dev --include=peer
|
|
|
|
popd
|
2021-09-01 20:57:33 +02:00
|
|
|
# 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
|
2022-12-24 17:22:24 +01:00
|
|
|
%pyproject_wheel
|
2017-08-28 15:11:16 +02:00
|
|
|
|
|
|
|
%install
|
2022-12-24 17:22:24 +01:00
|
|
|
%pyproject_install
|
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
|
2023-03-28 01:03:46 +02:00
|
|
|
# API parameter mismatch
|
|
|
|
donttest="test_described_subscript_error_on_type_error"
|
|
|
|
%pytest plotly/tests/test_core -k "not ($donttest)"
|
2021-09-01 20:57:33 +02:00
|
|
|
# not available
|
|
|
|
donttest="test_kaleido"
|
2024-03-04 10:22:24 +01:00
|
|
|
donttest="$donttest or test_px_input and (vaex or polars)"
|
2021-09-01 20:57:33 +02:00
|
|
|
# API parameter mismatches and precision errors
|
2024-03-04 10:22:24 +01:00
|
|
|
donttest="$donttest or test_matplotlylib"
|
2024-06-03 18:21:01 +02:00
|
|
|
# fails to plot with numpy 2 but cannot reproduce failure interactively
|
|
|
|
donttest="$donttest or test_masked_constants_example"
|
2022-12-24 17:22:24 +01:00
|
|
|
# flaky timing error
|
2024-03-04 10:22:24 +01:00
|
|
|
donttest="$donttest or test_fast_track_finite_arrays"
|
|
|
|
%pytest 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/
|
2022-12-24 17:22:24 +01:00
|
|
|
%{python_sitelib}/plotly-%{version}.dist-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
|
2022-12-24 17:22:24 +01:00
|
|
|
%{_jupyter_nbextension_dir}/jupyterlab-plotly/
|
|
|
|
%{_jupyter_labextensions_dir3}/jupyterlab-plotly/
|
2022-02-14 09:15:02 +01:00
|
|
|
%{_jupyter_config} %{_jupyter_nb_notebook_confdir}/jupyterlab-plotly.json
|
2017-08-28 15:11:16 +02:00
|
|
|
|
|
|
|
%changelog
|