Skip to content
Advertisement

Change title font size in Plotly

I’m trying to update the title font size on my plot using the Plotly library, but it doesn’t works. This is how I defined my layout:

JavaScript

It correctly set the the title and the shapes, but not the font size.

Advertisement

Answer

I think you can set the title font size using a dictionary:

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement