You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it may end up comparing None to a numpy.array which can be very slow if the array is large. This happens at line 2264 in backend_pdf.py in GraphicsContextPdf.delta() with the line
different = bool(ours != theirs)
It happens that ours is None and theirs a numpy.array. Due to the (new?) numpy behaviour using element-wise comparison here, this steps turns out to be very slow.
(matplotlib 1.4.0, numpy 1.9.0)
The text was updated successfully, but these errors were encountered:
When using the PDF backend with
it may end up comparing
None
to a numpy.array which can be very slow if the array is large. This happens at line 2264 in backend_pdf.py inGraphicsContextPdf.delta()
with the lineIt happens that
ours
isNone
andtheirs
a numpy.array. Due to the (new?) numpy behaviour using element-wise comparison here, this steps turns out to be very slow.(matplotlib 1.4.0, numpy 1.9.0)
The text was updated successfully, but these errors were encountered: