<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Scatter Plots
Perhaps the 2<sup>nd</sup> most well-known type of plot, also so generic that it is called with the same plot function as with line plots.
Step1:  Ok you got me, the plot function still generates a line by default... but we can turn it off
Step2:  Markersize
Step3:  Symbol
Step4:  Errorbars
<ASSISTANT_TASK:>
Python Code:
import numpy
from matplotlib import pyplot
%matplotlib inline
###  generate some random data
xdata = numpy.arange(15)
ydata = numpy.random.randn(15) + xdata
###  initialize the "figure" and "axes" objects
fig, ax = pyplot.subplots()
points_plot = ax.plot(xdata, ydata, marker='o')
Explanation: Scatter Plots
Perhaps the 2<sup>nd</sup> most well-known type of plot, also so generic that it is called with the same plot function as with line plots.
End of explanation
###  initialize the figure
fig, ax = pyplot.subplots()
points_plot = ax.plot(xdata, ydata, ls='', marker='o')
Explanation: Ok you got me, the plot function still generates a line by default... but we can turn it off
End of explanation
###  initialize the figure
fig, ax = pyplot.subplots()
points_plot = ax.plot(xdata, ydata, ls='', marker='o', ms=15)
Explanation: Markersize
End of explanation
###  initialize the figure
fig, ax = pyplot.subplots()
points_plot = ax.plot(xdata, ydata, ls='', ms=8, marker='o')
#points_plot = ax.plot(xdata, ydata, ls='', ms=8, marker='s')
#points_plot = ax.plot(xdata, ydata, ls='', ms=8, marker='D')
#points_plot = ax.plot(xdata, ydata, ls='', ms=8, marker='^')
#points_plot = ax.plot(xdata, ydata, ls='', ms=8, marker='>')
#points_plot = ax.plot(xdata, ydata, ls='', ms=8, marker='<')
#points_plot = ax.plot(xdata, ydata, ls='', ms=8, marker='v')
Explanation: Symbol
End of explanation
###  generate some random data
xdata2 = numpy.arange(15)
ydata2 = numpy.random.randn(15)
yerrors = numpy.random.randn(15)
###  initialize the figure
fig, ax = pyplot.subplots()
ax.errorbar(xdata2, ydata2, yerr=yerrors)
###  initialize the figure
fig, ax = pyplot.subplots()
eb = ax.errorbar(xdata2, ydata2, yerr=yerrors, ls='',         # no lines connecting points
                                               marker='*',    # circular plot symbols
                                               ms=20,         # marker size
                                               mfc='r',       # marker face color
                                               mew=2,         # marker edge width
                                               mec='k',       # marker edge color
                                               elinewidth=2,  # error line width
                                               ecolor='gray', # error color
                                               capsize=6)     # error hat size
###  also try mfc="none"
pyplot.errorbar?
Explanation: Errorbars
End of explanation
<END_TASK>