(pd)
| 340 | |
| 341 | |
| 342 | def test_connection_patch_units(pd): |
| 343 | # tests that this doesn't raise an error |
| 344 | fig, (ax1, ax2) = plt.subplots(nrows=2, figsize=(10, 5)) |
| 345 | x = pd.Timestamp('2017-01-01T12') |
| 346 | ax1.axvline(x) |
| 347 | y = "test test" |
| 348 | ax2.axhline(y) |
| 349 | arr = mpatches.ConnectionPatch((x, 0), (0, y), |
| 350 | coordsA='data', coordsB='data', |
| 351 | axesA=ax1, axesB=ax2) |
| 352 | fig.add_artist(arr) |
| 353 | fig.draw_without_rendering() |
nothing calls this directly
no test coverage detected
searching dependent graphs…