Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ivy Big Ten ACC SEC Pac-12 Independent Big 12 Other
- 1869 0.500000 0.500000 0.0 0.0 0.0 0.0 0.0 0.0
- 1870 0.666667 0.333333 0.0 0.0 0.0 0.0 0.0 0.0
- 1872 0.800000 0.200000 0.0 0.0 0.0 0.0 0.0 0.0
- 1873 0.833333 0.166667 0.0 0.0 0.0 0.0 0.0 0.0
- 1874 0.875000 0.125000 0.0 0.0 0.0 0.0 0.0 0.0
- years.shape: (149,)
- conf_champs[conf].shape: (149,)
- total.shape: (149,)
- conf: Ivy
- bar_colors[n]: red
- years.shape: (149,)
- conf_champs[conf].shape: (149,)
- total.shape: (149,)
- conf: Pac-12
- bar_colors[n]: chartreuse
- Traceback (most recent call last):
- File "C:/Users/[User]/.PyCharmCE2019.1/config/scratches/scratch_7.py", line 277, in <module>
- plt = plot_conference_pct_of_ten_year_total(conf_champs)
- File "C:/Users/[User]/.PyCharmCE2019.1/config/scratches/scratch_7.py", line 243, in plot_conference_pct_of_ten_year_total
- plt.bar(years, conf_champs[conf], bottom=total, label=conf, width=1, color=bar_colors[n])
- File "C:Users[User]AppDataLocalProgramsPythonPython37libsite-packagesmatplotlibpyplot.py", line 2440, in bar
- **({"data": data} if data is not None else {}), **kwargs)
- File "C:Users[User]AppDataLocalProgramsPythonPython37libsite-packagesmatplotlib__init__.py", line 1601, in inner
- return func(ax, *map(sanitize_sequence, args), **kwargs)
- File "C:Users[User]AppDataLocalProgramsPythonPython37libsite-packagesmatplotlibaxes_axes.py", line 2430, in bar
- label='_nolegend_',
- File "C:Users[User]AppDataLocalProgramsPythonPython37libsite-packagesmatplotlibpatches.py", line 707, in __init__
- Patch.__init__(self, **kwargs)
- File "C:Users[User]AppDataLocalProgramsPythonPython37libsite-packagesmatplotlibpatches.py", line 89, in __init__
- self.set_linewidth(linewidth)
- File "C:Users[User]AppDataLocalProgramsPythonPython37libsite-packagesmatplotlibpatches.py", line 368, in set_linewidth
- self._linewidth = float(w)
- TypeError: only size-1 arrays can be converted to Python scalars
- Process finished with exit code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement