Minna Wang
Dec 7, 2022

--

Hi Vanessa! Sorry for the delayed response--glad to hear that you liked the article :)

To increase the text size, try this:

fig.update_layout(uniformtext_minsize=###, uniformtext_mode='hide')

There should already by a fig.update_layout in the code (assuming you copied from my post), so paste

uniformtext_minsize=###, uniformtext_mode='hide'

within it, and change ### to your desired text size.

To disable the zoom function, try this:

fig.update_layout(dragmode=False)

In other words, add dragmode=False to the existing fig.update_layout() method.

Let me know if those don't work!

--

--

Minna Wang
Minna Wang

Written by Minna Wang

Data nerd & valiant defender of the Oxford comma. I get excited about numbers 📊 & words 📖 | 💰 Finance @ Jasper AI

No responses yet