Altair: Can't get independent 'y' scales with faceted heatmap
问题 I'm working in a jupyter notebook trying to display a sort of adjacency-matrix-like data set in a grouped layout like this one using Altair's Chart.facet() method. This guy's answer gets me halfway there, but when I try to facet with rows and resolve the y scale as 'independent', the chart comes up as a tiny box containing no elements. df = (pd.util.testing.makeDataFrame() .reset_index(drop=True) # drop string index .reset_index() # add an index column .melt(id_vars=['index'], var_name=