<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def axis_to_data(ax, width):
 """For a width in axis coordinates, return the corresponding in data coordinates. Parameters ax : matplotlib.axis Axis object from matplotlib. width : float Width in xaxis coordinates. """

    xlim = ax.get_xlim()
    widthx = width*(xlim[1] - xlim[0])
    ylim = ax.get_ylim()
    widthy = width*(ylim[1] - ylim[0])
    return 0.5*(widthx + widthy)