From 989e5e6f581d5f2b90b90966989ee9f960286e2e Mon Sep 17 00:00:00 2001 From: aloctavodia Date: Thu, 20 Feb 2025 09:01:41 +0200 Subject: [PATCH] fix excesive margins --- src/arviz_plots/backend/plotly/templates.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/arviz_plots/backend/plotly/templates.py b/src/arviz_plots/backend/plotly/templates.py index cbecf71..74c2433 100644 --- a/src/arviz_plots/backend/plotly/templates.py +++ b/src/arviz_plots/backend/plotly/templates.py @@ -7,6 +7,7 @@ arviz_variat_template.layout.plot_bgcolor = "white" arviz_variat_template.layout.polar.bgcolor = "white" arviz_variat_template.layout.ternary.bgcolor = "white" +arviz_variat_template.layout.margin = {"l": 50, "r": 10, "t": 40, "b": 45} axis_common = {"showgrid": False, "ticks": "outside", "showline": True, "zeroline": False} arviz_variat_template.layout.xaxis = axis_common arviz_variat_template.layout.yaxis = axis_common @@ -31,6 +32,7 @@ arviz_cetrino_template.layout.plot_bgcolor = "white" arviz_cetrino_template.layout.polar.bgcolor = "white" arviz_cetrino_template.layout.ternary.bgcolor = "white" +arviz_cetrino_template.layout.margin = {"l": 50, "r": 10, "t": 40, "b": 45} axis_common = {"showgrid": False, "ticks": "outside", "showline": True, "zeroline": False} arviz_cetrino_template.layout.xaxis = axis_common arviz_cetrino_template.layout.yaxis = axis_common @@ -55,6 +57,7 @@ arviz_vibrant_template.layout.plot_bgcolor = "white" arviz_vibrant_template.layout.polar.bgcolor = "white" arviz_vibrant_template.layout.ternary.bgcolor = "white" +arviz_vibrant_template.layout.margin = {"l": 50, "r": 10, "t": 40, "b": 45} axis_common = {"showgrid": False, "ticks": "outside", "showline": True, "zeroline": False} arviz_vibrant_template.layout.xaxis = axis_common arviz_vibrant_template.layout.yaxis = axis_common