Make sure you've set up an API access token.
Pull plot
{% pygmentify %}
import uhepp
plot = uhepp.pull("{{ plot.uuid }}")
# Modify, save, render or show plot locally
plot.show()
{% endpygmentify %}
Push new plot to the same collection
{% pygmentify %}
import uhepp
# Create a histogram or retrieve one from a location file
hist = uhepp.from_json("local_file.json")
hist.push({{ plot.collection.pk }})
{% endpygmentify %}