Closed
Description
Bug summary
Having just picked up v3.9.1, we are seeing downstream image test failures due to additional whitespace in contourf
and pcolor
plots that use datetimes. The change bisects to #28393.
Code for reproduction
import datetime
import numpy as np
import matplotlib.pyplot as plt
dts = [datetime.datetime(2009, 9, 9, 17, 0) + datetime.timedelta(minutes=n) for n in range(10, 61, 10)]
foo = range(5)
data = np.arange(30).reshape(6, 5)
plt.contourf(foo, dts, data)
plt.show()
Actual outcome
Expected outcome
Before #28393 I get
Additional information
No response
Operating system
Ubuntu
Matplotlib Version
v3.9.1 and main
Matplotlib Backend
No response
Python version
3.12
Jupyter version
No response
Installation
conda
Metadata
Metadata
Assignees
Labels
No labels