The flourishcharts packages are provided by Canva as open source software under the MIT license(opens in a new tab or window).

Bind parliament chart data

Usage

def bind_parliament_chart_data(
self,
party: str = None,
seats: Union[list, str] = None
)
PYTHON
bind_parliament_chart_data(
.,
party = NULL,
seats = NULL
)
R

Arguments

Arguments
Type hint
Description
self
Flourish
Returns the Flourish object
party
str, optional
Party
seats
Union[list, str], optional
Seats. This should point to the column with election data. Flourish type hint: columns
Arguments
Description
.
Returns the Flourish object
party
Party
seats
Seats. This should point to the column with election data. Flourish type hint: columns