Thank you for your help, it is interesting but it still didn’t work in my case because I am using sns.pairplot where the x and y axis are already includes in the plot.
When I try your solution I have the message:
corr_fig = sns.pairplot(st.session_state['data_file_selected'].iloc[:,:],corner=True)
File "/home/appuser/venv/lib/python3.9/site-packages/seaborn/axisgrid.py", line 2114, in pairplot
grid = PairGrid(data, vars=vars, x_vars=x_vars, y_vars=y_vars, hue=hue,
File "/home/appuser/venv/lib/python3.9/site-packages/seaborn/axisgrid.py", line 1276, in __init__
axes = fig.subplots(len(y_vars), len(x_vars),
File "/home/appuser/venv/lib/python3.9/site-packages/matplotlib/figure.py", line 895, in subplots
axs = gs.subplots(sharex=sharex, sharey=sharey, squeeze=squeeze,
File "/home/appuser/venv/lib/python3.9/site-packages/matplotlib/gridspec.py", line 308, in subplots
axarr[row, col] = figure.add_subplot(
File "/home/appuser/venv/lib/python3.9/site-packages/matplotlib/figure.py", line 746, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **pkw)
File "/home/appuser/venv/lib/python3.9/site-packages/matplotlib/axes/_subplots.py", line 34, in __init__
self._axes_class.__init__(self, fig, [0, 0, 1, 1], **kwargs)
File "/home/appuser/venv/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 645, in __init__
self._init_axis()
File "/home/appuser/venv/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 777, in _init_axis
self.xaxis = maxis.XAxis(self)
File "/home/appuser/venv/lib/python3.9/site-packages/matplotlib/axis.py", line 2190, in __init__
super().__init__(*args, **kwargs)
File "/home/appuser/venv/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 454, in wrapper
return func(*args, **kwargs)
File "/home/appuser/venv/lib/python3.9/site-packages/matplotlib/axis.py", line 692, in __init__
self.clear()
File "/home/appuser/venv/lib/python3.9/site-packages/matplotlib/axis.py", line 877, in clear
self._set_scale('linear')
File "/home/appuser/venv/lib/python3.9/site-packages/matplotlib/axis.py", line 776, in _set_scale
self._scale.set_default_locators_and_formatters(self)
File "/home/appuser/venv/lib/python3.9/site-packages/matplotlib/scale.py", line 106, in set_default_locators_and_formatters
axis.set_major_formatter(ScalarFormatter())
File "/home/appuser/venv/lib/python3.9/site-packages/matplotlib/ticker.py", line 449, in __init__
self.set_useMathText(useMathText)
File "/home/appuser/venv/lib/python3.9/site-packages/matplotlib/ticker.py", line 564, in set_useMathText
ufont = font_manager.findfont(
File "/home/appuser/venv/lib/python3.9/site-packages/matplotlib/font_manager.py", line 1348, in findfont
ret = self._findfont_cached(
File "/home/appuser/venv/lib/python3.9/site-packages/matplotlib/font_manager.py", line 1474, in _findfont_cached
+ self.score_style(prop.get_style(), font.style)
AttributeError: 'FontProperties' object has no attribute 'style'
It is maybe very specific and I understand if you can’t help but what I don’t understand is that in localhost juste the line plt.rcParams[‘font.family’] = “Noto Sans JP Regular” is enough but while online it is so different.