link and Link¶
link
¶
Link plots: a selection made in one shows in all of them.
at.link(scatter, counts) # the same table: the same rows
at.link(by_year, by_country, on="iso") # any tables: rows with the same "iso"
Parameters:
-
plots(Trellis, default:()) โTwo plots or more, each in one link at most.
-
on(str | Sequence[str] | None, default:None) โColumn(s) whose values identify a thing across the plots' tables: selecting rows selects every row sharing their values. Default: the plots draw the same table (the same object), and a selection is its rows.
Returns:
-
LinkโThe link:
unlink()it to set the plots apart again.