I was trying to plot some data with scatter. My code is
import matplotlib.pyplot as plt import matplotlib as mpl import numpy as np from scipy.interpolate import
BTW, you could use marker='s' to draw squares in your scatter plot instead of circles and then just keep your original code.