PAIR-code / megaplot

Apache License 2.0
19 stars 5 forks source link

Implement automatic resize #88

Open jimbojw opened 1 year ago

jimbojw commented 1 year ago

Currently, the Scene's resize() method offers the API user a way to explicitly request Megaplot to recompute the offset and scale values based on a changed canvas size.

In addition, it would helpful to users to perform this resizing automatically. It should be possible to disable automatic resize in the event the API user does not want it.

Design question: What parameters can/should the user provide to inform how the resizing ought to be carried out?

See also: #16