From 0b110fa5db25d055752a0e270b8113527da861b0 Mon Sep 17 00:00:00 2001 From: visualpython Date: Wed, 29 May 2024 14:29:31 +0900 Subject: [PATCH 1/2] Remove url on styleGuide to follow colab policy --- visualpython/html/styleGuide.html | 1 - 1 file changed, 1 deletion(-) diff --git a/visualpython/html/styleGuide.html b/visualpython/html/styleGuide.html index 81c970a3..6af84a6e 100644 --- a/visualpython/html/styleGuide.html +++ b/visualpython/html/styleGuide.html @@ -5,7 +5,6 @@ Style Guide - From 428b3dd1a8f4688b731550d8e411b418755556e1 Mon Sep 17 00:00:00 2001 From: visualpython Date: Wed, 29 May 2024 14:29:45 +0900 Subject: [PATCH 2/2] Fix matplotlib legend labels option --- visualpython/html/m_visualize/chart.html | 2 +- visualpython/js/m_visualize/Chart.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/visualpython/html/m_visualize/chart.html b/visualpython/html/m_visualize/chart.html index 09d649b7..a2d8f579 100644 --- a/visualpython/html/m_visualize/chart.html +++ b/visualpython/html/m_visualize/chart.html @@ -249,7 +249,7 @@ Legend Labels - + Legend Position diff --git a/visualpython/js/m_visualize/Chart.js b/visualpython/js/m_visualize/Chart.js index d979a6e1..cb8692ca 100644 --- a/visualpython/js/m_visualize/Chart.js +++ b/visualpython/js/m_visualize/Chart.js @@ -1207,8 +1207,8 @@ define([ type: 'text' }, { - key: 'label', - name: 'legendLabel', + key: 'labels', + name: 'legendLabels', type: 'var' }, { @@ -1244,7 +1244,7 @@ define([ { name: 'xlim', required: false }, { name: 'ylim', required: false }, { name: 'legendTitle', required: false }, - { name: 'legendLabel', required: false }, + { name: 'legendLabels', required: false }, { name: 'legendLoc', required: false }, { name: 'savefigpath', required: false } ];