Skip to content

Commit f5650ef

Browse files
camdecosteremilykl
andauthored
Apply suggestions from code review
Co-authored-by: Emily KL <4672118+emilykl@users.noreply.github.com>
1 parent 7872b1a commit f5650ef

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

doc/python/colorscales.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@ fig.show()
157157

158158
### Explicitly Constructing a Color scale
159159

160-
The Plotly Express `color_continuous_scale` argument accepts explicitly-constructed color scales as well. There is an equivalent graph objects example using the `colorscale` parameter [below](#custom-heatmap-color-scale-with-graph-objects).
160+
The Plotly Express `color_continuous_scale` argument accepts explicitly-constructed color scales as well.
161+
162+
The Graph Objects `colorscale` parameter also accepts an explicitly-constructed color scale, as shown in the example [below](#custom-heatmap-color-scale-with-graph-objects).
161163

162164
```python
163165
import plotly.express as px

doc/python/configuration-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ import plotly.express as px
371371
df = px.data.iris()
372372
fig = px.scatter(df, x="sepal_width", y="sepal_length", color="species")
373373

374-
config = {"displayNotifier": True}
374+
config = {"displayNotifier": False}
375375
fig.show(config=config)
376376
```
377377

doc/python/hover-text-and-formatting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ fig=px.scatter(df,
363363
custom_data=['country', 'continent', 'pop'],
364364
)
365365

366-
# Plotly express does not have a hover template parameter in the graph creation function, so we apply the template with update_traces
366+
# Plotly express does not have a 'hovertemplate' parameter in the graph creation function, so we apply the template with update_traces
367367
fig.update_traces(
368368
hovertemplate =
369369
"<b>%{customdata[0]}</b><br>" +

0 commit comments

Comments
 (0)