in chartify/_core/chart.py [0:0]
def _set_toolbar_for_format(self, format):
if format == "html":
self.figure.toolbar_location = "right"
elif format in ("png", "svg"):
self.figure.toolbar_location = None
elif format is None: # If format is None the chart won't be shown.
pass
else:
raise ValueError("""Invalid format. Valid options are 'html', 'png' or 'svg'.""")