Unfortunately you can’t bold symbols using the bold font, see this question on tex.stackexchange.

As the answer suggests, you could use `\boldsymbol`

to bold phi:

```
r'$\boldsymbol{\phi}$'
```

You’ll need to load `amsmath`

into the TeX preamble:

```
matplotlib.rc('text', usetex=True)
matplotlib.rcParams['text.latex.preamble']=[r"\usepackage{amsmath}"]
```

### Related Contents:

- Sans-serif math with latex in matplotlib
- How to write your own LaTeX preamble in Matplotlib?
- Generating a PNG with matplotlib when DISPLAY is undefined
- How can I change the x axis in matplotlib so there is no white space?
- How to find the exact intersection of a curve (as np.array) with y==0?
- plot a circle with pyplot
- Matplotlib – label each bin
- How can I set the aspect ratio in matplotlib?
- find length of sequences of identical values in a numpy array (run length encoding)
- Matplotlib and Ipython-notebook: Displaying exactly the figure that will be saved
- matplotlib: overlay plots with different scales?
- matplotlib (mplot3d) – how to increase the size of an axis (stretch) in a 3D Plot?
- Matplotlib: Plotting numerous disconnected line segments with different colors
- Matplotlib figure facecolor (background color)
- How do I align gridlines for two y-axis scales using Matplotlib?
- How do I change the figure size with subplots?
- plotting results of hierarchical clustering on top of a matrix of data
- How to set xlim and ylim for a subplot [duplicate]
- how to use ‘extent’ in matplotlib.pyplot.imshow
- Axes class – set explicitly size (width/height) of axes in given units
- When I use matplotlib in jupyter notebook,it always raise ” matplotlib is currently using a non-GUI backend” error?
- Plot correlation matrix using pandas
- How to use custom png image marker with plot?
- How to change legend size with matplotlib.pyplot
- How to change fonts in matplotlib (python)?
- matplotlib: plot multiple columns of pandas data frame on the bar chart
- What does a 4-element tuple argument for ‘bbox_to_anchor’ mean in matplotlib?
- No outlines on bins of Matplotlib histograms or Seaborn distplots
- How to disable the minor ticks of log-plot in Matplotlib?
- How can I group a stacked bar chart?
- I want to plot changes in monthly values from dataset spanning over few years with matplot.pylib, pandas
- First and last row cut in half of heatmap plot
- Save plot to image file instead of displaying it
- Can I create AxesSubplot objects, then add them to a Figure instance?
- Plot 3d surface with colormap as 4th dimension, function of x,y,z
- Wrapping long y labels in matplotlib tight layout using setp
- How can I connect scatter points in a 3D space?
- Matplotlib: display plot on a remote machine
- Keep plotting window open in Matplotlib
- How to modify the navigation toolbar easily in a matplotlib figure window?
- ploting filled polygons in python
- How to show two figures using matplotlib?
- Color matplotlib bar chart based on value
- update frame in matplotlib with live camera preview
- Python scatter plot. Size and style of the marker
- How do I plot in real-time in a while loop?
- Save plot to numpy array
- Rotate label text in seaborn
- My matplotlib.pyplot legend is being cut off
- How to set the axis limits