Fixed comment on example usage in jupyter-notebook (#396)

Cause of error: Import name must be results_plotter, not log_viewer.
This commit is contained in:
sedand
2018-11-14 23:50:59 +01:00
committed by pzhokhov
parent 339d5640b9
commit d3fed181b5

View File

@@ -72,9 +72,9 @@ def plot_results(dirs, num_timesteps, xaxis, yaxis, task_name):
plot_curves(xy_list, xaxis, yaxis, task_name)
# Example usage in jupyter-notebook
# from baselines import log_viewer
# from baselines import results_plotter
# %matplotlib inline
# log_viewer.plot_results(["./log"], 10e6, log_viewer.X_TIMESTEPS, "Breakout")
# results_plotter.plot_results(["./log"], 10e6, results_plotter.X_TIMESTEPS, "Breakout")
# Here ./log is a directory containing the monitor.csv files
def main():