* Fixed issue with necessary columns from complex arguments
dropped when interchanging dataframes
* Updated Plotly.js from version 2.24.1 to version 2.25.2. See
the plotly.js CHANGELOG for more information. These changes
are reflected in the auto-generated `plotly.graph_objects`
module. Notable changes include:
* Add "Equal Earth" projection to geo subplots [#6670],
* Add options to include legends for shapes and `newshape`
* `px` methods now accept data-frame-like objects that support
a dataframe interchange protocol, such as polars, vaex, modin
etc. This protocol has priority on `to_pandas` call, but will
only be used if pandas>=2.0.2 is installed in the
environment.
* `px` methods now accept data-frame-like objects that support
a `toPandas()` method, such as Spark DataFrames, or a
`to_pandas_df()` method, such as Vaex DataFrames.
* Fixed Pandas performance warning issue caused by multiple
`frame.insert`
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=58
* 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
- 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
- Update to 5.13.1
* Updated Plotly.js to from version 2.18.0 to version 2.18.2. See
the plotly.js CHANGELOG for more information. These changes are
reflected in the auto-generated plotly.graph_objects module.
* Updated distutils.Version to packaging.Version #3897] and
#4055]
- Release 5.13.0
* Updated Plotly.js to from version 2.17.1 to version 2.18.0. See
the plotly.js CHANGELOG for more information. Notable changes
include:
* Add sync tickmode option [#6356, #6443], with thanks to
@filipesantiagoAM and @VictorBezak for the contribution!
* Build process now uses Node 18.x and version 2 lockfile (should
be an invisible change for users) [#4034]
* write_html() now explicitly encodes output as UTF-8 because
Plotly.js' bundle contains such characters [#4021] and [#4022]
* fixed iframe renderer regression from 5.12 and also fixed error
when this renderer was used in the very first cell in a
notebook [#4036]
- Release 5.12.0
* Support for ipywidgets 8 [#3930]
* Updated Plotly.js to from version 2.16.1 to version 2.17.1. See
the plotly.js CHANGELOG for more information. Notable changes
include:
* Add shift and autoshift to cartesian y axes to help avoid
overlapping of multiple axes [#6334], with thanks to Gamma
Technologies for sponsoring the related development!
* Introduce group attributes for scatter trace i.e.
alignmentgroup, offsetgroup, scattermode and scattergap
[#6381], this feature was anonymously sponsored: thank you to
our sponsor!
* Add marker.cornerradius attribute to treemap trace [#6351]
* Fixed the usage of some deprecated NumPy types which were
removed in NumPy 1.24 [#3997]
* Fixed bug for trendlines with datetime axes [#3683]
* marker.angle attribute now accepts iterables where appropriate
[#4013]
* selector=0 now correctly returns the first trace in
.select_traces() and related methods [#3817]
- Drop patches merged upstream
* plotly-fix-sources-np1.24.patch
* plotly-fix-tests-np1.24.patch
OBS-URL: https://build.opensuse.org/request/show/1074749
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=53
- Update to version 5.11.0
* Add clustering options to scattermapbox [#5827], with thanks to
@elben10 for the contribution!
* Add bounds to mapbox suplots [6339]
* Add angle, angleref and standoff to marker and add backoff to
line; also introduce new arrow symbols to facilitate drawing
networks [#6297]
* Add minreducedwidth and minreducedheight to layout for
increasing control over automargin [#6307]
* Add entrywidth and entrywidthmode to legend [#6202, #6324]
- Add patches for compatibility with numpy 1.24
* plotly-fix-sources-np1.24.patch
* plotly-fix-tests-np1.24.patch
OBS-URL: https://build.opensuse.org/request/show/1045226
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=51
- Update to version 5.5.0
* Added text_auto argument to px.bar, px.histogram,
px.density_heatmap, px.imshow #3518
* Deprecated ff.create_annotated_heatmap,
ff.create_county_choropleth, ff.create_gantt #3518
* Added div_id argument to pio.to_html, pio.write_html,
fig.to_html and fig.write_html to optionally make its IDs
deterministic #3487 with thanks to @Skn0tt
* Fixed ValueError when ff.create_annotated_heatmap passes rgba()
colors into to_rgb_color_list #3478 with thanks to @janosh
* Updated Plotly.js to from version 2.6.3 to version 2.8.3. See
the plotly.js CHANGELOG for more information. Notable changes
include:
- Horizontal color bars
- texttemplate for histogram-like and heatmap-like traces
- Release notes for 5.4.0
* Fixed error when serializing dict with mix of string and
non-string keys #3380
* The JSON serialization engines no longer sort their keys #3380
* Updated Plotly.js to from version 2.4.2 to version 2.6.3. See
the plotly.js CHANGELOG for more information. Notable changes
include:
* New subplot type smith that supports scattersmith trace types
for visualizing data in the complex domain
* Changes to Plotly.js packaging
- Clean python36 conditionals
- Don't wait on optional Shapely for python310: skip tests
OBS-URL: https://build.opensuse.org/request/show/945659
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=45
- Update to version 5.3.0
* Added legend.groupclick options
* Provide bbox of hover items in event data
- Release 5.0.0
* Updated/Changed:
Items in this section may be considered backwards-incompatible
changes for the purposes of Semantic Versioning but we expect
the vast majority of users to be able to upgrade to version
5.0 without encountering any issues.
* Dropped support for Python older than 3.6 #3160
* Updated Plotly.js to from version 1.58.4 to version 2.1.0. See
the plotly.js CHANGELOG for more information. These changes
are reflected in the auto-generated plotly.graph_objects
module. Notable changes include:
* dropped support for IE9 and IE10
* dropped support for long-deprecated graph_objects like area
traces and scatter.(t|r) and layout.(radial|angular)axis
attributes
* modebar no longer has hovermode or spikeline buttons by
default (can be added back with fig.update_layout(modebar_add=
["v1hovermode", "toggleSpikeLines"]))
* "Aa" text no longer appears on legend items unless mode="text"
* In bar traces, textposition now defaults to "auto"
* Font size for legend and colorbar titles now matches axis
title font size (slightly bigger)
* deprecated heatmapgl, pointcloud traces as well as all
transform attributes
* Combined plotlywidget into jupyterlab-plotly and packaged them
as a federated extension #3142 with massive thanks to
@fcollonval for the contribution
* In addition to this change, large Plotly.js bundles are now
lazily loaded on-demand by JupyterLab
* Plotly.js CDN url will now be versioned by default for HTML
exports using include_plotlyjs='cdn' and for "connected"
renderers. #2961 with thanks to @adehad for the contribution
* Recommending Kaleido by default over Orca #3094
* Replaced retrying dependency with tenacity #2911 with thanks
to @jmsmdy for the contribution
* Plotly Express now always takes into account every value in c
category_orders when computing discrete mappings (color,
symbol, line-dash, pattern-shapes) as well as facets, even
those values which are absent in the data #3247
- Fix rpmlint errors: touch __init__.py mtime before deduplicating
the compile cache files
- Enable tests:
* core test suite for all flavores
* optional requirements test suite for all except python36 flavor
-- many optional requirements are not available
OBS-URL: https://build.opensuse.org/request/show/915453
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=43
- update to version 4.5.4:
* Updated
+ The documentation of the API
https://plot.ly/python-api-reference/ now documents the full API
#2243
+ New documentation examples for facets #2235, legend #2227,
subplots #2226, axes #2234 and histograms #2242. Thanks to
@SylwiaOliwia2 for all these great examples!
* Fixed
+ Jupyterlab extension now compatible with both Jupyterlab 1.2 and
2.0 #2261 with thanks to @consideRatio for the contribution!
+ Fixed a bug when using boolean values for the color argument of
px functions #2127
+ Corrected import bug which was occuring with old versions of
ipywidgets #2265
+ Fixed python 3.8 syntax warning #2262, with thanks to @sgn for
the contribution!
- changes from version 4.5.3:
* Updated
+ Removed development dependency on nose testing framework #2217
* Fixed
+ JupyterLab extension now compatible with JupyterLab 2.0 #2245
with thanks to @consideRatio for the contribution!
- changes from version 4.5.2:
* Fixed
+ Fix build errors in JupyterLab extension by pinning version of
@types/plotly.js #2223
OBS-URL: https://build.opensuse.org/request/show/784523
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-plotly?expand=0&rev=21
- Update to version 4.5.0
+ Updated
* Updated Plotly.js to version 1.52.1.
* Plotly Express uses the new `legend.title` attribute and so now has shorter trace `name`s
* The heuristic used by `px.parallel_categories` to determine which columns of the data frame to draw has been changed and made more configurable with the `dimensions_max_cardinality` argument
* The `simple_white` colorbar styling has been streamlined
* The `jupyterlab-plotly` and `plotlywidget` JupyterLab extensions should now share code when installed together, resulting in smaller JupyterLab vendor bundle sizes
+ Fixed
* Plotly Express `category_orders` are now respected independent of the contents of the data set
* `go.Scattergl` symbols now accept numeric specification
* `px.scatter` trendline coefficients are now more readable
* Built-in cyclical color scales now all have identical start and end points
+ Added
* `px.sunburst` and `px.treemap` now accept a `path` argument for passing
columns of a rectangular dataframe to build the charts
* `px.choropleth` now accepts a user-supplied `geojson` attribute
* `px.choropleth` and `px.choropleth_mapbox` now accept `featureidkey` to specify the GeoJSON field to use to match `locations`
* `px.choropleth` and `px.choropleth_mapbox` now accept discrete color
* `px.bar_polar` now accepts continuous color
* New `layout.uniformtext` attribute allows for automatic standardization of font sizes across bar-like and hierarchical traces.
OBS-URL: https://build.opensuse.org/request/show/768852
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=22