Repository: streamlit/streamlit

Issue:
New streamlit theme cannot have title and axis labels overridden with plotly charts
### Checklist

- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.

### Summary

Using st.plotly_chart and the new streamlit theme - it is now impossible to adjust any of the title or axis labels, in terms of size, colour, position, etc. 

Discussed in [this forum post](https://discuss.streamlit.io/t/overriding-new-streamlit-theme-how-to-modify-plotly-title-and-axis-labels/36678) 

### Reproducible Code Example

From forum post: https://discuss.streamlit.io/t/overriding-new-streamlit-theme-how-to-modify-plotly-title-and-axis-labels/36678
# doing any of these commands does not adjust any of the title or axes.
fig.update_layout(title=dict(font=dict(size=40)))
        fig.update_layout(title_font_size=40)
        fig.update_layout(
        title={
            'text': "Plot Title",
            'y':0.9,
            'x':0.9,
            'xanchor': 'right',
            'yanchor': 'top'})
        fig.update_layout(
        title="Plot Title",
        xaxis_title="X Axis Title",
        yaxis_title="Y Axis Title",
        legend_title="Legend Title",
        font=dict(
            family="Courier New, monospace",
            size=18,
            color="RebeccaPurple"
        )
        )
        fig.update_layout(
        title=dict(
            text='<b>Life Expectancy - Our World in Data</b>',
            x=0.5,
            y=0.95,
            font=dict(
                family="Arial",
                size=20,
                color='#000000'
            )
        ))
        fig.update_layout(font={'size': 30})

Copy and paste example:
```Python
import numpy as np
import pandas as pd
import plotly.express as px
import plotly.graph_objects as go
from plotly.subplots import make_subplots

import streamlit as st

df = pd.read_csv(
    "https://raw.githubusercontent.com/plotly/datasets/master/finance-charts-apple.csv"
)

fig = px.line(
    df, x="Date", y="AAPL.High", title="Time Series with Range Slider and Selectors"
)

fig.update_xaxes(
    rangeslider_visible=True,
    rangeselector=dict(
        buttons=list(
            [
                dict(count=1, label="1m", step="month", stepmode="backward"),
                dict(count=6, label="6m", step="month", stepmode="backward"),
                dict(count=1, label="YTD", step="year", stepmode="todate"),
                dict(count=1, label="1y", step="year", stepmode="backward"),
                dict(step="all"),
            ]
        )
    ),
)
fig.update_layout(height=300, width=600)
fig.update_layout(
    font_family="Courier New",
    font_color="blue",
    title_font_family="Times New Roman",
    title_font_color="red",
    legend_title_font_color="green"
    title_font_size=40,
)
st.plotly_chart(fig, theme="streamlit")
```


### Steps To Reproduce

1. use st.plotly_chart
2. try to override the title or axis labels using the normal fig.update_traces commands

### Expected Behavior

I expect that the plot title and axis labels can be adjusted like they used to be.

### Current Behavior

The title and axis labels do not change.

### Is this a regression?

- [ ] Yes, this used to work in a previous version.

### Debug info

Streamlit version: 1.17.0
Python version: 3.8.13
Conda
OS version: Mac
Browser version: Chrome/safari

### Additional Information

_No response_

### Are you willing to submit a PR?

- [ ] Yes, I am willing to submit a PR!


Discussion:

Resolving patch:
diff --git a/e2e/scripts/st_plotly_chart.py b/e2e/scripts/st_plotly_chart.py
--- a/e2e/scripts/st_plotly_chart.py
+++ b/e2e/scripts/st_plotly_chart.py
@@ -240,6 +240,14 @@
     ),
 )
 fig.update_layout(height=300, width=600)
+fig.update_layout(
+    font_family="Courier New",
+    font_color="blue",
+    title_font_family="Times New Roman",
+    title_font_color="red",
+    legend_title_font_color="green",
+    title_font_size=30,
+)
 st.plotly_chart(fig, theme="streamlit")
 
 data = pd.DataFrame((100, 120, 104, 102, 203, 102), columns=["some_col"])


Test patch: