- 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.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
- Update to 4.0.0
+ Updated
* Updated Plotly.js to version 1.48.3.
+ Added
* The Plotly Express tech preview has been integrated as the `plotly.express` module
* Added a new renderers framework the supports rendering figure in a wide variety of contexts. See the new Displaying Plotly Figures documentation page for more information.
* Added `plotly.io.write_html` and `plotly.io.to_html` functions for exporting figures to HTML. Also available as `.write_html` and `.to_html` figure methods.
* Added new figure methods for batch updating figure properties (`update_layout`, `update_traces`, `update_xaxes`, etc.). See the new Creating and Updating Figures documentation page for more details.
* Added support for all trace types in `make_subplots`
* Added support for secondary y-axes in `make_subplots`
* Support passing a scalar trace object (rather than a list or tuple of trace objects) as the `data` property to the `Figure` constructor
* Added dictionary-stule `.pop` method to graph object classes
* New `jupyterlab-plotly` JupyterLab extension for rendering figures in JupyterLab. Replaces the `@jupyterlab/plotly-extension` extension, and includes JupyterLab 1.0 support.
* Added new suite of built-in colorscales to the `plotly.colors` module, and support for specifying this wide range of colorscales by name. Also added support for specifying colorscales as a list of colors, in which case the color spacing is assumed to be uniform.
* Added `sphinx-gallery` renderer for embedding plotly figures in Sphinx-Gallery.
+ Removed
* The follow modules for interfacing with the Chart Studio cloud service have been removed from plotly.py and moved to the new `chart-studio` distribution package. The following modules have been moved to a new top-level `chart_studio` module:
> `plotly.plotly` -> `chart_studio.plotly`
> `plotly.api` -> `chart_studio.api`
> `plotly.dashboard_objs` -> `chart_studio.dashboard_objs`
> `plotly.grid_objs` -> `chart_studio.grid_objs`
> `plotly.presentation_objs` -> `chart_studio.presentation_objs`
* The legacy `plotly.widgets.GraphWidget` class for displaying online figures hosted by Chart Studio as ipywidgets has been removed. Please use the offline, and much more capable, `plotly.graph_objects.FigureWidget` class instead.
* The `fileopt` argument to `chart_studio.plotly.plot` has been removed, so in-place modifications to previously published figures are no longer supported, and a figure will always overwrite a figure with the same name.
+ Changed
* The `'plotly'` template is used as the default theme across all figures.
* In order to reduce the size of the core `plotly` distribution package, the bundled geographic shape files used by the `create_choropleth` figure factory have been moved to a new optional `plotly-geo` distribution package
* For consistency with other figure factories, the `create_choropleth` and `create_gantt` figure factories now always returns `Figure` objects, rather than dictionaries.
* Figure add trace methods (`.add_trace`, `.add_traces`, `.add_scatter`, etc.) now return a reference to the calling figure, rather than the newly created trace
* `plotly.tools.make_subplots` has been moved to `plotly.subplots.make_subplots`, though it is still available at the previous location for backward compatibility
* The `plotly.graph_objs` module has been moved to `plotly.graph_objects`, though it is still available at the previous location for backward compatibility
* Trace `uid` properties are only generated automatically when a trace is added to a `FigureWidget`. When a trace is added to a standard `Figure` graph object the input `uid`, if provided, is accepted as is.
* `datetime` objects that include timezones are not longer converted to UTC
* When a tuple property (e.g. `layout.annotations`) is updated with a list/tuple that is longer than the current value, the extra elements are appended to the end of the tuple.
+ Fixed
* Fixed visibility of `bar` trace error bars in built-in templates
OBS-URL: https://build.opensuse.org/request/show/718605
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-plotly?expand=0&rev=8
- 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