Mojtaba Samimi
Mojtaba Samimi
Thanks very much @marthacryan. It looks like [the default renderer](https://plotly.com/python/renderers/) is not correctly set on `plotly.py`. What do you think?
Thanks @Coding-with-Adam for the report as well as the codepens.
> Any update on this? Hi @RenaudLN I still need to investigate possibility of implementing this in plotly.js. I could start looking into that (in few days) right after next...
There is now a PR open on plotly.js repository. Please see https://github.com/plotly/plotly.js/pull/7009
It's working if you use the following code: ```py import plotly.express as px import pandas as pd import numpy as np df = pd.DataFrame({ 'x': np.random.normal(0, 1, 100), 'col': np.random.choice(['A',...
I think it should go inside `layout.title` object instead of `layout`. It reminds of when we added `minor` ticks in #6166. That would also allow adding multiple titles and subtitles...
Also it would be nice (and possibly easy) to have the subtitle option available on the cartesian axes and other places too.
For a quick prototype, perhaps you could add the subtitle text to the end of title.text with a `` and style it differently.
> @archmoj @alexcjohnson Makes sense -- do you mean something like the below? > > -`layout` > > * `title` > > * `subtitle` > > * `text` > *...
One may wants to add an attribute e.g. `spacing` (in pixel?) to help increase the space between the title and subtitle. But I am not sure where it should go...