Cannot find plot function in GPy library (python)
Solution 1:
The plotting library gets "injected" in GPy/GPy/plotting/__init__.py's inject_plotting()
. Here the line for plot()
:
from ..core import GP
...
GP.plot = gpy_plot.gp_plots.plot
I assume the reason for this design was that it allows easily changing the plotting library on-the-fly via change_plotting_library()
.