Django backend test to display plots