Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 02db65d

Browse files
committed
Remove undefined variable
1 parent 3d3ba2a commit 02db65d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

syntax-summary.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ Example scatter plot with facets:
258258
```python
259259
px.scatter(data_frame=world_2015, x='gdp_per_capita', y='life_expectancy',
260260
facet_col='region', facet_col_wrap=3,
261-
color='income_group', category_orders={'income_group' : income_order},
261+
color='income_group',
262+
category_orders={'income_group' : ['Low', 'Lower middle', 'Upper middle', 'High']},
262263
log_x=True, hover_data=['country'],
263264
title='Life Expectancy vs. GDP per Capita in 2015')
264265
```

0 commit comments

Comments
 (0)