-
Notifications
You must be signed in to change notification settings - Fork 3
Description
The function display.display is used for plotting the percentages of the plot in parliament composition, turning them into a total number of mps. It also does not show a value for parties with a small representation.
Small Representation:
This is done by making sure that nothing is returned if the pct is smaller than 1.5%. This should actually match the limit used when creating labels. That is, if no label is created for the political parties which are not in the top 3, the pct should change so only the top 3 parties get a display format.
Correct number of mps:
Currently this works because there are 350 mps in the Spanish parliament, as it multiplies the pct by 3.5. If the total number of mps changes, the output would no longer represent the number of mps elected to that party. That number should be a factor of total_mps in the electoral map.