Additional information
I believe I have found a hint towards a solution, but I do not know if this is applicable to any situation. In vaex/viz/mpl.py, on line 802, ax is defined and the colorbar is added. On line 810 it is re-defined.
Changing the code to use the ax created before makes the colorbars appear in the plot.
I replaced
Description I am trying the Slices in a 3rd dimension example in a Jupyter notebook, and the result does not have colorbars.
The piece of code I am using:
I expected this to appear, but instead I got
Software information
Additional information I believe I have found a hint towards a solution, but I do not know if this is applicable to any situation. In
vaex/viz/mpl.py
, on line 802,ax
is defined and the colorbar is added. On line 810 it is re-defined. Changing the code to use theax
created before makes the colorbars appear in the plot. I replacedwith
I hope this proves useful to track down the bug, thank you for your time.
[Edited to remove double
if
]