A nice improvement would be allowing the users to just pass the callback function to the data display panes instead of solely an image or both an image and a callback.
Such would reduce a bit of redundant typing when the user specifies a function call to the callback to generate the first image anyways.
Example:
def callback(*args, **kwargs):
return some_image
ip = ImagePane(callback(), callback)
A nice improvement would be allowing the users to just pass the callback function to the data display panes instead of solely an image or both an image and a callback.
Such would reduce a bit of redundant typing when the user specifies a function call to the callback to generate the first image anyways.
Example:
=>