From deeb6dfc10a029b2a0ca1d65358e9bbca80c89f0 Mon Sep 17 00:00:00 2001 From: Muriithi Frederick Muriuki Date: Fri, 20 Aug 2021 09:03:21 +0300 Subject: Update issue with notes for 2021-08-17 * Update issue with some progress report. --- topics/gn1-migration-to-gn2/clustering.gmi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'topics/gn1-migration-to-gn2/clustering.gmi') diff --git a/topics/gn1-migration-to-gn2/clustering.gmi b/topics/gn1-migration-to-gn2/clustering.gmi index fc38b01..b18f231 100644 --- a/topics/gn1-migration-to-gn2/clustering.gmi +++ b/topics/gn1-migration-to-gn2/clustering.gmi @@ -132,3 +132,18 @@ feature to set up the colours as appropriate, when different colour-schemes are => https://plotly.com/python/colorscales/ colour scales documentation => https://plotly.com/python/plotly-fundamentals/ plotly fundamentals page => https://plotly.com/python/categorical-axes/ categorical axes + +## 2021-08-17 + +Tried providing the data-points as a dictionary instead of number, to test out the categorical layout of the plots: something along the lines of: + +``` +data = [[{'value': 0.07039128483638035, 'category': 'C57BL/6J +'}, {'value': 1.8493427990767048, 'category': 'C57BL/6J +'}, ..., {'value': 1.3089193078506003, 'category': 'C57BL/6J +'}]] +``` + +but that did work as expected. + +Paused on heatmap generation to first test out the database access code. + +Added tests and fixed issues with older db-access code to get a sample of the data for drawing heatmaps. + -- cgit v1.2.3