Closed
Description
In the following example the baseline of the y labels are not aligned, rather it seems like the bottom of the g in one is aligned to the baseline of the other label. (The xlabels seems right) Using the pdf backend it appears correct. The issue does not seem to depend on the xelatex vs pdflatex and different fonts.
@pwuertz is this related to #1115 ?
import matplotlib
matplotlib.use('pgf')
import matplotlib.pyplot as plt
import numpy as np
params = {
'text.usetex': True,
'pgf.texsystem': 'xelatex',
}
plt.rcParams.update(params)
fig,ax = plt.subplots(2,2)
ax[0,0].set_ylabel('test',fontsize=30) #large font size to make it easier to see
ax[1,0].set_ylabel('testg',fontsize=30)
ax[1,0].set_xlabel('test',fontsize=30)
ax[1,1].set_xlabel('testg',fontsize=30)
fig.savefig('test.pdf')
Metadata
Metadata
Assignees
Labels
No labels