We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c589d1c commit e17895eCopy full SHA for e17895e
tests/test_optional/test_kaleido/test_kaleido.py
@@ -366,6 +366,9 @@ def test_width_height_priority():
366
fig = create_figure()
367
svg_bytes = pio.to_image(fig, format="svg")
368
width, height = parse_svg_dimensions(svg_bytes)
369
- assert width is not None and height is not None, (
370
- "Default dimensions should be used when no layout or arguments"
+ assert width == pio.defaults.default_width, (
+ "Default width should be used when no layout or argument"
371
+ )
372
+ assert height == pio.defaults.default_height, (
373
+ "Default height should be used when no layout or argument"
374
)
0 commit comments