bsherin / tactic

5 stars 1 forks source link

In matplotlib tile self.width is not always correct when draw_plot is run. #1182

Closed bsherin closed 1 year ago

bsherin commented 1 year ago

Seems like after reload a resubmit it doesn't have the right size Note that width and height are in tile reload attrs Re-running the tile seems to lock in the current width.

I think the key might betile_reload_dicts in the main container

Note that when I re-run, this calls update_options, which sends an updated reload dict

Doing a kill and reload calls reload_tile

I added self._tworker.send_updated_reload_dict() in TileSizeChange. I think that should do it. But also need to think about initial tile creation.

bsherin commented 1 year ago

I think this is fixed now.