summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjoaquim <henriquecjoaquim@gmail.com>2024-06-03 10:49:13 +0100
committerhjoaquim <henriquecjoaquim@gmail.com>2024-06-03 10:49:13 +0100
commit4403587adb8bc362def2c764a094bdbf0101038d (patch)
treeef1ebb516f0a8c732500a5f0ee3baee1fa0649d3
parent5cf4aa8188bbb55beff873bf6859ee09aaf1c7c9 (diff)
remove unused function
-rw-r--r--openbb_platform/obbject_extensions/charting/openbb_charting/core/openbb_figure.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/openbb_platform/obbject_extensions/charting/openbb_charting/core/openbb_figure.py b/openbb_platform/obbject_extensions/charting/openbb_charting/core/openbb_figure.py
index b9d930cdc45..c255ef7f226 100644
--- a/openbb_platform/obbject_extensions/charting/openbb_charting/core/openbb_figure.py
+++ b/openbb_platform/obbject_extensions/charting/openbb_charting/core/openbb_figure.py
@@ -464,24 +464,6 @@ class OpenBBFigure(go.Figure):
self.update_layout(barmode="overlay", bargap=0.01, bargroupgap=0)
- def is_image_export(self, export: Optional[str] = "") -> bool:
- """Check if the export format is an image format.
-
- Parameters
- ----------
- export : `str`
- Export format
-
- Returns
- -------
- `bool`
- True if the export format is an image format, False otherwise
- """
- if not export:
- return False
-
- return any(ext in export for ext in ["jpg", "png", "svg"])
-
def set_title(
self, title: str, wrap: bool = False, wrap_width: int = 80, **kwargs
) -> "OpenBBFigure":