Skip to content

Commit f33cfeb

Browse files
committed
bubble edit
1 parent 7b6c879 commit f33cfeb

File tree

2 files changed

+572
-2588
lines changed

2 files changed

+572
-2588
lines changed

_posts/python/basic/bubble/bubble.ipynb

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,10 @@
127127
"metadata": {},
128128
"source": [
129129
"### Scaling the Size of Bubble Charts\n",
130-
"To scale the bubble size, use the attribute `sizeref`. We reccommend using the following formula to calculate a `sizeref` value:\n",
131-
"\n",
132-
"`sizeref = 2. * max(array of size values) / (desired maximum marker size ** 2)`\n",
133-
"\n",
134-
"\n",
135-
"Note that setting 'sizeref' to a value greater than 1, decreases the rendered marker sizes, while setting 'sizeref' to less than 1, increases the rendered marker sizes. See https://plot.ly/python/reference/#scatter-marker-sizeref for more information."
130+
"To scale the bubble size, use the attribute `sizeref`. We recommend using the following formula to calculate a `sizeref` value:<br>\n",
131+
"`sizeref = 2. * max(array of size values) / (desired maximum marker size ** 2)`<br>\n",
132+
"Note that setting 'sizeref' to a value greater than 1, decreases the rendered marker sizes, while setting 'sizeref' to less than 1, increases the rendered marker sizes. See https://plot.ly/python/reference/#scatter-marker-sizeref for more information.\n",
133+
"Additionally, we recommend setting the sizemode attribute: https://plot.ly/python/reference/#scatter-marker-sizemode to area."
136134
]
137135
},
138136
{

0 commit comments

Comments
 (0)