1

I've created an updating matplotlib chart in Python 3.7. It updates every minute. I'd like to show the chart in my Google Slides presentation. Therefore I want to put the updating chart into a webpage that I can show in my presentation. How could this be done?

1 Answer 1

4

Use the webagg backend.

import matplotlib
matplotlib.use("webagg")

You can customize the address and port via rcParams:

## The port to use for the web server in the WebAgg backend.
#webagg.port : 8988

## The address on which the WebAgg web server should be reachable
#webagg.address : 127.0.0.1
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.