Repository navigation
reflex-components-plotly@0.11.0a1
Pre-release
Pre-release
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_relayoutdata usesmap.*keys, and Mapbox-hosted styles no longer load. See the migration guide for the changes to make. (#7408)
Deprecations
- Deprecate
rx.plotly.mapboxand Mapbox figures in Reflex 0.12.0 in favor ofrx.plotly.mapwith MapLibre traces andlayout.map. Until removal in Reflex 1.0,rx.plotly,rx.plotly.mapandrx.plotly.mapboxrender existing Mapbox figures on Plotly.js 4 by renaming their trace types, subplot references andlayout.mapboxkeys, and log a browser warning. (#7408)
Features
- Add
rx.plotly.mapfor MapLibre maps usingscattermap,choroplethmapanddensitymaptraces without a Mapbox access token. (#7408)
Bug Fixes
- Fix a page crash when
rx.plotlyreceives aNonefigure from state whilelayoutor the default template is set. (#7408) - Ship a
py.typedmarker so type checkers such as mypy read the package's bundled.pyistubs instead of treating it as untyped, and mark the names the package root imports as re-exported. (#7710)