diff --git a/src/deephaven/plugin/matplotlib/__init__.py b/src/deephaven/plugin/matplotlib/__init__.py index 27a079e..be1cadb 100644 --- a/src/deephaven/plugin/matplotlib/__init__.py +++ b/src/deephaven/plugin/matplotlib/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.0.1.dev0" +__version__ = "0.0.1.dev1" def register_into(callback): register_custom_types_into(callback) diff --git a/src/deephaven/plugin/matplotlib/figure_type.py b/src/deephaven/plugin/matplotlib/figure_type.py index 2d70ba4..b27144e 100644 --- a/src/deephaven/plugin/matplotlib/figure_type.py +++ b/src/deephaven/plugin/matplotlib/figure_type.py @@ -9,7 +9,7 @@ def name() -> str: def is_type(object) -> bool: return isinstance(object, Figure) -def to_bytes(figure: Figure) -> bytes: +def to_bytes(exporter, figure: Figure) -> bytes: buf = BytesIO() figure.savefig(buf, format='PNG') return buf.getvalue()