Renaming plot_get_env to plot_get_global_env to avoid confusion with plot_env_get