I was very tired, that sounds consistent with my experience. Is there any hope for, or a workaround for automatic plot showing in the console?
Was my quote from the release page misleading or did I misunderstand/misread something?
This is what I get when I attempt via repl_python():
> library(reticulate)
> repl_python()
Python 3.7.3 (/nix/store/dp7m97wmfraarrnp5hxsqz1czm06v1rr-python3-3.7.3-env/bin/python)
Reticulate 1.12.0.9001 REPL -- A Python interpreter in R.
>>> import matplotlib
>>> matplotlib.use("Agg", force=True)
>>> import matplotlib.pyplot as plt
>>> plt.figure(figsize=(14,8))
<Figure size 1400x800 with 0 Axes>
>>> plt.plot([1,2,3],[1,2,3])
[<matplotlib.lines.Line2D object at 0x7faa70cf2160>]
>>> plt.show()
/nix/store/dp7m97wmfraarrnp5hxsqz1czm06v1rr-python3-3.7.3-env/lib/python3.7/site-packages/matplotlib/figure.py:445: UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
% get_backend())
Thanks for your time!
PS: It would be handy to get these plots without blocking the R repl. I tried some horrible hacks with forking and whatnot, but nothing quite worked fully.