two different y axis python code example Example: math plotlib 2 y axes gapminder_us = gapminder[gapminder.country=="United States"]