%global pypi_name plotly
Name: python-plotly
Version: 6.9.0
Release: 1
Summary: An open-source, interactive data visualization library
License: MIT
URL: https://github.com/plotly/plotly.py
Source0: %{pypi_source %{pypi_name} %{version}}
BuildArch: noarch
%description
plotly.py is an interactive, open-source, and browser-based graphing library for Python.
%package -n python3-plotly
Summary: %{summary}
Provides: python-plotly
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
Requires: python-jupyter-filesystem
%description -n python3-plotly
plotly.py is an interactive, open-source, and browser-based graphing library for Python.
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-plotly
%license LICENSE.txt
%doc README.md
%{python3_sitelib}/_plotly_*/
%{python3_sitelib}/plotly*/
%{_prefix}/share/jupyter/labextensions/jupyterlab-plotly/
%{_bindir}/plotly_get_chrome
%changelog
* Mon Jul 20 2026 zengliwen <zengliwen@kylinos.cn> - 6.9.0-1
- update version to 6.9.1
- Raise a clear ValueError when an unsupported marginal plot type is passed to Plotly Express
- Rename sendDataToCloud modebar button to sendChartToCloud, and update to upload chart to Plotly Cloud
- Fix stale scattergl error bars after toggling traces with mixed error bar visibility
- Fix geo fitbounds to choose a compact longitude range when point data straddles the antimeridian
* Thu Jun 25 2026 sunliqiang <sunliqiang@kylinos.cn> - 6.8.0-1
- Update package to version 6.8.0
- Add optional `font` parameter for `make_subplots`
- Fix issue where user-specified `color_continuous_scale` was ignored when template had `autocolorscale=True`
- Update plotly.js from version 3.5.0 to version 3.6.0
- Remove `%{python3_sitelib}/js/*` from `%files` because plotly 6.8.0 no longer ships a top-level `js/` directory to site-packages (the wheel build excludes it); `js/install.json` is now installed to the Jupyter labextensions path via hatchling shared-data
* Fri Apr 10 2026 YangengLiu <dev01202@linx-info.com> - 6.7.0-1
- update version to 6.7.0
* Update numpy.percentile syntax to stop using deprecated alias.
* Handle empty px.histogram by skipping None label in hover template.
* Add facet_row support to px.imshow for creating subplots along an additional dimension.
* Update plotly.js from version 3.4.0 to version 3.5.0.
* Tue Mar 03 2026 YangengLiu <dev01202@linx-info.com> - 6.6.0-1
- update version to 6.6.0
* Remove unneeded type="text/javascript" attribute from <style> tag.
* Remove global warning format side effect.
* Fix spurious engine deprecation warning in write_image.
* Update plotly.js from version 3.3.1 to version 3.4.0.
* Fri Jan 16 2026 yyli <dev01209@linx-info.com> - 6.5.2-1
- update version to 6.5.2
* Fix issue where pie trace legend, showlegend attributes don't accept array values
* Thu Jan 08 2026 YangengLiu <dev01202@linx-info.com> - 6.5.1-1
- update version to 6.5.1
* Fix issue where Plotly Express ignored trace-specific color sequences defined in templates via template.data.<trace_type>
* Speed up validate_gantt function
* Update plotly.js from version 3.3.0 to version 3.3.1. Add support for arrays for the pie properties showlegend and legend, so that these can be configured per slice.
* Sun Jan 04 2026 Yu Peng <yupeng@kylinos.cn> - 6.5.0-1
- Upgrade to 6.5.0
* Update plotly.js from version 3.2.0 to version 3.3.0.
* Notable changes include: Add hovertemplate for candlestick and ohlc traces
* Fix bug where numpy datetime contained in Python list was converted to integer
* Wed Oct 30 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 5.24.1-1
- Update package to version 5.24.1
New px functions for maps: scatter_map, line_map, choropleth_map, and density_map.
Add subtitle attribute to layout.title to enable adding subtitles to plots
Introduce "u" and "s" pseudo html tags to add partial underline and strike-through styles
Specify Python version 3.8-3.11 for development virtual environments
Pin pytest at version 8.1.1 to match
Removed Python 3.6 and Python 3.7 support
* Mon Jul 31 2023 mengzhaoa <mengzhaoa@isoftstone.com> - 5.15.0-1
- Inite package python-plotly of version 5.15.0.