multiple y axis on top of each other matplotlib code example Example: math plotlib 2 y axes gapminder_us = gapminder[gapminder.country=="United States"]