Saving matplotlib.pyplot scatter plot in TensorBoard?

Is there a convenient way to save a matplotlib.pyplot scatter plot into TensorBoard using the SummaryWriter?

You can check this out: GitHub - wookayin/tensorflow-plot: 📈 TensorFlow + Matplotlib as TF ops

I saw that but that requires importing TensorFlow I believe?