Closed as not planned
Description
Bug report
Bug summary
webagg silently drops draw-time exceptions and stops drawing.
Code for reproduction
If you run the following in a jupyter notebook:
import matplotlib.pyplot as plt
import numpy as np
fig, ax = plt.subplots(1, 2)
for axx in ax:
axx.text(1., 2., 'boo')
axx.text(np.NaN, np.NaN, 'boo!')
it doesn't draw the second axis after the failure caused by the NaN
in the first axis. Note this error may not exist if #9295 gets merged, but its possible there are other silent failures as well.
Expected outcome
An error message should be passed somewhere!
See discussion by @anntzer at #9281 (comment) for a more learned discussion of whats going on.
Matplotlib version
- Matplotlib version: Master
- Matplotlib backend (
print(matplotlib.get_backend())
): webagg - Jupyter version (if applicable): recent release