When I tried to draw some figures in reticulate using matplotlib, there was always an error message:
“Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure."
How can I set up matplotlib to make it work in reticulate?
Thank you!