Open aplowman opened 6 months ago
Some imports can be placed inside a function scope to ensure they do run when not needed. This will improve start-up time.
In matplotlib.param_classes.seeds, we import matplotlib, but it is only need in the MicrostructureSeeds.show method.
matplotlib.param_classes.seeds
matplotlib
MicrostructureSeeds.show
Some imports can be placed inside a function scope to ensure they do run when not needed. This will improve start-up time.
In
matplotlib.param_classes.seeds
, we importmatplotlib
, but it is only need in theMicrostructureSeeds.show
method.