Plotting a heatmap with rect and cant get the fill_color to correspond to the color in the datasource. The data source is shown below. The line_color is picking up the tracerColor from the columndatasource, but how can I get it working for the fill_color?
I need the values that are 0 to be white and the rest to show the color in the from the source data
On Friday, November 9, 2018 at 8:48:25 AM UTC-6, Zana wrote:
Plotting a heatmap with rect and cant get the fill_color to correspond to the color in the datasource. The data source is shown below. The line_color is picking up the tracerColor from the columndatasource, but how can I get it working for the fill_color?
I need the values that are 0 to be white and the rest to show the color in the from the source data
I have the same problem with factor_cmap, so that didn’t work. What worked for me was changing the width which was fixed to 1 to the columndatasource value of “Flow”. I changed the fill_color to just color and added the “traceColor” there. That fixed the issue:)
···
On Friday, November 9, 2018 at 3:48:25 PM UTC+1, Zana wrote:
Plotting a heatmap with rect and cant get the fill_color to correspond to the color in the datasource. The data source is shown below. The line_color is picking up the tracerColor from the columndatasource, but how can I get it working for the fill_color?
I need the values that are 0 to be white and the rest to show the color in the from the source data