proplot
proplot copied to clipboard
Inconsistent width of axes
Description
The width of axes are inconsistent.
Steps to reproduce
layout = [[1, 1, 2, 2, 3, 3],
[4, 4, 4, 5, 5, 5]]
fig, axs = pplt.subplots(layout, sharey=False, proj={4:'merc'}, proj_kw={'lon_0': 180},
hratios=[1, 1], refnum=4, wratios= [1, 1, 1, 1, 1, 1], journal='nat2')
axs.format(land=True, landcolor='k')
axs[0].plot(np.arange(10))
axs[1].plot(np.arange(10))
axs[2].plot(np.arange(10))
Expected behavior: [What you expected to happen] The axes in the top row, axs[0:3], shall have the same width. Actual behavior: [What actually happened]
axs[1] is wider than the other two.
![CleanShot 2022-10-02 at 22 51 40@2x](https://user-images.githubusercontent.com/6420873/193493326-af50a985-0741-4099-a3a2-c7a3af05430b.png)
Proplot version
Matplotlib 3.4.3 Prophet 0.9.5
I suppose the problem is caused by refnum
. The code below works well:
fig, axs = pplt.subplots(layout, sharey=False, proj={4:'merc'}, proj_kw={'lon_0': 180})
![image](https://user-images.githubusercontent.com/30388627/193494624-0e92c600-86b9-4ae0-8a1c-90db3a1966f7.png)