你如何改变用matplotlib绘制的图形的大小?
我有以下情节:

如果它们具有相同的宽度,它看起来会更好.你知道在我使用ipython笔记本时怎么做%matplotlib inline吗?
更新:
为了生成这两个数字,我使用以下函数:
import numpy as np
import matplotlib.pyplot as plt
def show_plots2d(title, plots, points, xlabel = '', ylabel = ''):
"""
Shows 2D plot.
Arguments:
title : string
Title of the plot.
plots : array_like of pairs like array_like and array_like
List of pairs,
where first element is x axis and the second is the y axis.
points : array_like of pairs like integer and integer
List of pairs,
where first element is x coordinate …Run Code Online (Sandbox Code Playgroud)