You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It wold be amazing if the styling of Facets charts could be customized to only show axis labels on specified portions of the facet. This is a common technique in scientific manuscripts to clean up multi-panel figures and reduce clutter and redundancy.
To my understanding, it is quite difficult to have variable axis labeling (or remove axis entirely) from subcomponents of the Facet chart.
The screenshot below was developed using altair, but building each suplot individually and aggregating using a For loop. Note how the x-ticks are only on the bottom right plots, and the y-axis ticks are only on the top left plot, to minimize redundancy.
Have you considered any alternative solutions?
Yes, you can build each subcomponent individually and create a faceted chart by combining the individual subcomponents with | or &. The suggestion is to simplify this approach.
The text was updated successfully, but these errors were encountered:
Thanks for the suggestion! This type of change would need to happen in the underlying Vega-Lite library before it can be available in Altair so I have moved your issue over to that repo.
The workaround for now is to use concatenation rather than faceting. Vega-Lite would need some more optimizations to support these kinds of customizations conveniently.
What is your suggestion?
It wold be amazing if the styling of Facets charts could be customized to only show axis labels on specified portions of the facet. This is a common technique in scientific manuscripts to clean up multi-panel figures and reduce clutter and redundancy.
To my understanding, it is quite difficult to have variable axis labeling (or remove axis entirely) from subcomponents of the Facet chart.
The screenshot below was developed using altair, but building each suplot individually and aggregating using a For loop. Note how the x-ticks are only on the bottom right plots, and the y-axis ticks are only on the top left plot, to minimize redundancy.
Have you considered any alternative solutions?
Yes, you can build each subcomponent individually and create a faceted chart by combining the individual subcomponents with
|
or&
. The suggestion is to simplify this approach.The text was updated successfully, but these errors were encountered: