From 8fffdfba7bd81518dd868457661e080b80f09f82 Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Thu, 21 Mar 2024 14:44:29 +0100
Subject: [PATCH] set correctly marginBottom

---
 components/content/MatrixPdock.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/content/MatrixPdock.vue b/components/content/MatrixPdock.vue
index b2761110..1ba4d7e6 100644
--- a/components/content/MatrixPdock.vue
+++ b/components/content/MatrixPdock.vue
@@ -26,7 +26,7 @@ export interface PlotMargin {
 const margin = ref<PlotMargin>({
     marginTop: 100,
     marginRight: 50,
-    marginBottom: 0,
+    marginBottom: 50,
     marginLeft: 150
 })
 
@@ -92,7 +92,7 @@ const computedPDocksMatrixPlotOptions = computed(() => {
             x: { axis: "top", label: "Proteins", tickRotate: 45 },
             y: { label: "Proteins" },
             legend: { label: matrix[0] },
-            color: { scheme: "plasma", legend: true, reverse: true },
+            color: { scheme: "plasma", legend: true, reverse: true, domain: [0, 1] },
             marks: [
                 Plot.frame(),
                 Plot.cell(toValue(matrix[1]), {
-- 
GitLab