I was trying to avoid global imports for a optional dependency, but I suppose that's silly in a figure file.