Skip to content

Commit b4dc27a

Browse files
committed
chore: add draftlog for issue #5616 fix
1 parent 2907f59 commit b4dc27a

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

draftlogs/5616_fix.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Fix colorbar editType for map traces
2+
3+
### Bug
4+
Setting `marker.colorbar` properties (e.g., `tickfont.textcase='normal'`) during scattermap/scattergeo/scattermapbox initialization would cause the map to blank on initial render.
5+
6+
### Root Cause
7+
Map traces had `marker.colorbar` properties with `editType='calc'` instead of `editType='colorbars'`. This caused the entire plot to recalculate on colorbar property changes, breaking map rendering during initialization.
8+
9+
### Fix
10+
- Added `restoreColorbarEditTypes()` function to restore correct editType for all colorbar properties
11+
- Applied to scattermap, scattergeo, and scattermapbox trace types
12+
- Regenerated test/plot-schema.json with corrected editTypes
13+
14+
### Impact
15+
- Fixes #5616: Scattermap no longer blanks when colorbar properties are set on initial render
16+
- Brings map trace behavior in line with non-map traces like scatter
17+
- No breaking changes, full backward compatibility

0 commit comments

Comments
 (0)