Closed
Description
In labscript.py
, dedent()
is imported form labscript_utils
before the from pylab import *
line. Unfortunately that wildcard import brings in matplotlib.cbook.dedent()
which overwrites dedent()
.
Calling matplotlib.cbook.dedent()
gives the warning MatplotlibDeprecationWarning: The dedent function was deprecated in Matplotlib 3.1 and will be removed in 3.3. Use inspect.cleandoc instead
so it seems that it will be removed in the future and this issue will go away. Still, given that it's an easy fix I'll just issue a PR to reorder the imports and fix the issue now.
Metadata
Metadata
Assignees
Labels
No labels