
Hello everyone.
I was trying to create a heatmap from a dataframe which contains around 10 columns and 300 rows.
I followed this example and I will be using it to further explain my question.
My goal is to limit the user to only see a restricted amount of rows but, at the same time, still be able to navigate through the whole data (with the pan tool for example).
In the provided example it would be refected as being able to only see from January to April (4 rows), February to May, March to June, etc…
The closest I got was to limit the the y_range factors to 4 rows:
y_range = FactorRange(factors=list(reversed(months[0:4])))
But that doesn’t allow me to see the other factors on panning.
Is there any way to do what I desire? And if so, could you let me know how?
Additional Questions:
- In the same example I see a ColorBar with a specified custom palette. I’m interested in having one but as a gradient (without the ticks, as it happens when we use ‘Viridis256’ as palette) with custom colors as well. Is that something we can do? And if so, how?
Thanks

