We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ceaf4f commit 60afa5eCopy full SHA for 60afa5e
1 file changed
executor/python_executor/matplot/oomol_matplot_helper.py
@@ -64,7 +64,7 @@ def render(self, fig_dict):
64
color_scheme = os.getenv("OOMOL_COLOR_SCHEME", "dark")
65
# The generated html has default body margin 8px in chrome, remove it.
66
html = re.sub(r'<html[^>]*?>', r'\g<0><style>html { color-scheme: ' + color_scheme + '; height: 100%; align-content: center } ' +
67
- 'body { overflow: hidden; margin: 0 }</style>', html, flags=re.I)
+ 'body { margin: 0 }</style>', html, flags=re.I)
68
context.preview({ "type": "html", "data": html })
69
else:
70
logger.warning('plotly: no sys.modules["oomol"]')
@@ -77,4 +77,4 @@ def render(self, fig_dict):
77
78
def import_helper(logger: Logger):
79
setup_matplot(logger)
80
- setup_plotly(logger)
+ setup_plotly(logger)
0 commit comments