set\_lock ========= .. currentmodule:: pyxem.utils.diffraction .. automethod:: tqdm.set_lock