Closed has2k1 closed 1 year ago
Multiple layers + discrete position aesthetic + facetting AND a facet which lacks a value in any one layer.
import pandas as pd from plotnine import * df1 = pd.DataFrame({ 'x': list("abc"), 'y': [1, 2, 3], 'g': list("AAA") # This layer would have no entry in the "B" facet # triggering the bug }) df2 = pd.DataFrame({ 'x': list("abc"), 'y': [4, 5, 6], 'g': list("AAB") }) (ggplot(aes("x", "y")) + geom_point(df1) + geom_point(df2) + facet_wrap("g", scales="free_x") )
Ref: https://stackoverflow.com/q/74369454/832573
Multiple layers + discrete position aesthetic + facetting AND a facet which lacks a value in any one layer.
Ref: https://stackoverflow.com/q/74369454/832573