Skip to content

feat: Add symlog scale, scattermap zoom fix, and line dash support#7712

Open
DhruvGarg111 wants to merge 3 commits intoplotly:masterfrom
DhruvGarg111:feat/scattermap-zoom-symlog-dash
Open

feat: Add symlog scale, scattermap zoom fix, and line dash support#7712
DhruvGarg111 wants to merge 3 commits intoplotly:masterfrom
DhruvGarg111:feat/scattermap-zoom-symlog-dash

Conversation

@DhruvGarg111
Copy link

@DhruvGarg111 DhruvGarg111 commented Feb 17, 2026

This PR addresses three issues:

  1. Fixes [BUG]: Default zoom and center for scattermap traces does not show all points #7674 (Scattermap Zoom): Implemented auto-calculation for \zoom\ and \center\ in \scattermap\ traces when they are not provided by the user. It now computes the bounding box of the data and fits the map view accordingly.
  2. Fixes add symmetrical log scale #221 (Symlog Scale): Added a new axis type \symlog\ (symmetrical log). This uses an \�sinh\ transformation to allow log-like scaling that passes smoothly through zero and handles negative numbers.
  3. Fixes [Feature Request] Support line styles in Scattermapbox #6791 (Line Dash): Added support for \line.dash\ in \scattermap\ and \scattermapbox\ traces, mapping Plotly dash strings (e.g. 'dot', 'dashdot') to Mapbox's \line-dasharray\ format.

Changes:

  • Modified \src/plots/map/layout_defaults.js\ for auto-bounds.
  • Modified \src/plots/cartesian/set_convert.js\ and \layout_attributes.js\ for \symlog.
  • Modified \�ttributes.js\ and \convert.js\ in \src/traces/scattermap\ and \src/traces/scattermapbox\ for dashed lines.

@DhruvGarg111 DhruvGarg111 changed the title Feat/scattermap zoom symlog dash feat: Add symlog scale, scattermap zoom fix, and line dash support Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant