diff options
author | Muriithi Frederick Muriuki | 2021-08-20 09:03:21 +0300 |
---|---|---|
committer | Muriithi Frederick Muriuki | 2021-08-20 09:03:21 +0300 |
commit | deeb6dfc10a029b2a0ca1d65358e9bbca80c89f0 (patch) | |
tree | ad1ecb0002df256029a9ad48366f815085c0167d | |
parent | 1559155c204d884dd908253929dc25c27d268209 (diff) | |
download | gn-gemtext-deeb6dfc10a029b2a0ca1d65358e9bbca80c89f0.tar.gz |
Update issue with notes for 2021-08-17
* Update issue with some progress report.
-rw-r--r-- | topics/gn1-migration-to-gn2/clustering.gmi | 15 |
1 files changed, 15 insertions, 0 deletions
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. + |