Skip to content

Commit cf5ac9f

Browse files
committed
Fix codingstyle with ruff
1 parent caa57e2 commit cf5ac9f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plotly/offline/offline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def get_plotlyjs():
8989

9090
def _build_resize_script(plotdivid, plotly_root="Plotly"):
9191
resize_script = (
92-
'<script>'
92+
"<script>"
9393
'window.addEventListener("resize", function(){{'
9494
'if (document.getElementById("{id}")) {{'
9595
'{plotly_root}.Plots.resize(document.getElementById("{id}"));'

tests/test_io/test_renderers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def test_repr_html(renderer):
306306
sri_hash = _generate_sri_hash(plotlyjs_content)
307307

308308
template = (
309-
'<div> <script>'
309+
"<div> <script>"
310310
"window.PlotlyConfig = {MathJaxConfig: 'local'};</script>\n "
311311
'<script charset="utf-8" src="'
312312
+ plotly_cdn_url()

0 commit comments

Comments
 (0)