python cv2 get dense code example Example: get xlim python ax=plt.subplot(111) ylims=ax.get_ylim() xlims=ax.get_xlim()