I want to update my plotly graph using ajax in my Django project. This is what I tried so far. I\'m following this guide to doing it and I\'m totally new in jquery and ajax.