altair-viz / altair-viz.github.io

Generated documentation Website for Altair; source can be found at http://github.com/altair-viz/altair/
7 stars 16 forks source link

Added a troubleshooting tip related to layered charts #12

Closed ralienpp closed 6 years ago

ralienpp commented 6 years ago

Based on this thread of discussion group: https://groups.google.com/forum/#!topic/altair-viz/Vj6OY1HwMiY

heat_map + labels vs labels + heat_map The numbers were on the bottom layer, thus obscured by the rectangles, giving the impression that it did not work. However, the software did exactly what I asked :-) In retrospect, it is an obvious error. What would have helped me, is an adnotation at the end of the layer section, hinting the reader about double-checking the order of the layers if the result is not right.

jakevdp commented 6 years ago

Hi - thanks for the contribution! This repo is auto-generated from the RST source, so changes should not be made directly here. You can open a PR in the doc subdirectory of the main Altair repo; the relevant file is this one: https://github.com/altair-viz/altair/blob/master/doc/user_guide/compound_charts.rst

Thanks