Skip to content

reflex-components-plotly@0.11.0a1

Pre-release
Pre-release

Choose a tag to compare

Breaking Changes

  • Upgrade Plotly.js and locales to 4.3. MathJax 2, Chart Studio options and source-reference attributes are removed. Mapbox figures keep rendering until Reflex 1.0, but Mapbox paths in buttons, sliders and templates no longer act, on_relayout data uses map.* keys, and Mapbox-hosted styles no longer load. See the migration guide for the changes to make. (#7408)

Deprecations

  • Deprecate rx.plotly.mapbox and Mapbox figures in Reflex 0.12.0 in favor of rx.plotly.map with MapLibre traces and layout.map. Until removal in Reflex 1.0, rx.plotly, rx.plotly.map and rx.plotly.mapbox render existing Mapbox figures on Plotly.js 4 by renaming their trace types, subplot references and layout.mapbox keys, and log a browser warning. (#7408)

Features

  • Add rx.plotly.map for MapLibre maps using scattermap, choroplethmap and densitymap traces without a Mapbox access token. (#7408)

Bug Fixes

  • Fix a page crash when rx.plotly receives a None figure from state while layout or the default template is set. (#7408)
  • Ship a py.typed marker so type checkers such as mypy read the package's bundled .pyi stubs instead of treating it as untyped, and mark the names the package root imports as re-exported. (#7710)