This page demonstrates that the lightbox plugin coexists with executable code cells and a Binder kernel.
from matplotlib import pyplot as plt
fig, ax = plt.subplots()
ax.scatter([1, 2, 3], [1, 3, 2])The figure below remains a clickable lightbox while compute is enabled:

A mountain lake at dusk.