matplotlib dual x axis with data code example Example: math plotlib 2 y axes gapminder_us = gapminder[gapminder.country=="United States"]