altair_recipes icon indicating copy to clipboard operation
altair_recipes copied to clipboard

Overlapping axis title in faceted graphs

Open piccolbo opened this issue 6 years ago • 0 comments

  • altair_recipes version: 0.5.0
  • Python version:
  • Operating System:

Description

faceted graphs

What I Did

See test_autoplot_45, for instance

What happens

Faceted graphs have overlapping axis titles. They are also redundant. One solution is to shorten them with titleLimit, available from vega 3 which should also correspond to altair 3. Another could be not to display all of them, like alternating, or just one. FWIW, the ggplot way is to not repeat axis titles because of faceting. Just place one in the middle. Also, move the facet var opposite to the axis.

piccolbo avatar Jan 21 '19 06:01 piccolbo