You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: python/colorscales.md
+21-23Lines changed: 21 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -196,37 +196,35 @@ fig.add_trace(go.Heatmap(
196
196
fig.show()
197
197
```
198
198
199
-
###ColorscaleMidpoint
200
-
The following example uses[cmid](https://plot.ly/python/reference/#scatter-marker-cmid) attribute to set the mid-point of the color domain by scaling[cmin](https://plot.ly/python/reference/#scatter-marker-cmin) and/or[cmax](https://plot.ly/python/reference/#scatter-marker-cmax) to be equidistant to this point. It only has impact when[marker.line.color](https://plot.ly/python/reference/#scattercarpet-marker-line-color) sets to a numerical array, and[marker.line.cauto](https://plot.ly/python/reference/#scattercarpet-marker-line-cauto) is`True`.The heatmap chart uses[zmid](https://plot.ly/python/reference/#heatmap-zmid) attribute to set the mid-point of the color domain by scaling[zmin](https://plot.ly/python/reference/#heatmap-zmin) and/or[zmax](https://plot.ly/python/reference/#heatmap-zmax) to be equidistant to this point.
199
+
###Setting theMidpointof a Diverging Colorscale
200
+
The following example uses[marker.cmid](https://plot.ly/python/reference/#scatter-marker-cmid) attribute to set the mid-point of the color domain by scaling'cmin' and/or'cmax' to be equidistant to this point. It only has impact when[marker.color](https://plot.ly/python/reference/#scattercarpet-marker-line-color) sets to a numerical array, and'marker.cauto' is`True`.