|
1
Google:
matplotlib multi y axis 第一条: https://matplotlib.org/3.1.0/gallery/ticks_and_spines/multiple_yaxis_with_spines.html |
|
2
更新到 3.1,有相对比较优雅的实现 ax.secondary_xaxis,不过还是比较鸡肋。
之前的做法本质是画多个重叠的图,隐藏掉多余的元素 |
|
3
@matthewz 感谢。
|