SHARE
TWEET

Untitled

a guest Jul 17th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Ivy   Big Ten  ACC  SEC  Pac-12  Independent  Big 12  Other
  2. 1869  0.500000  0.500000  0.0  0.0     0.0          0.0     0.0    0.0
  3. 1870  0.666667  0.333333  0.0  0.0     0.0          0.0     0.0    0.0
  4. 1872  0.800000  0.200000  0.0  0.0     0.0          0.0     0.0    0.0
  5. 1873  0.833333  0.166667  0.0  0.0     0.0          0.0     0.0    0.0
  6. 1874  0.875000  0.125000  0.0  0.0     0.0          0.0     0.0    0.0
  7.  
  8. years.shape: (149,)
  9. conf_champs[conf].shape: (149,)
  10. total.shape: (149,)
  11. conf: Ivy
  12. bar_colors[n]: red
  13. years.shape: (149,)
  14. conf_champs[conf].shape: (149,)
  15. total.shape: (149,)
  16. conf: Pac-12
  17. bar_colors[n]: chartreuse
  18. Traceback (most recent call last):
  19.   File "C:/Users/[User]/.PyCharmCE2019.1/config/scratches/scratch_7.py", line 277, in <module>
  20.     plt = plot_conference_pct_of_ten_year_total(conf_champs)
  21.   File "C:/Users/[User]/.PyCharmCE2019.1/config/scratches/scratch_7.py", line 243, in plot_conference_pct_of_ten_year_total
  22.     plt.bar(years, conf_champs[conf], bottom=total, label=conf, width=1, color=bar_colors[n])
  23.   File "C:Users[User]AppDataLocalProgramsPythonPython37libsite-packagesmatplotlibpyplot.py", line 2440, in bar
  24.     **({"data": data} if data is not None else {}), **kwargs)
  25.   File "C:Users[User]AppDataLocalProgramsPythonPython37libsite-packagesmatplotlib__init__.py", line 1601, in inner
  26.     return func(ax, *map(sanitize_sequence, args), **kwargs)
  27.   File "C:Users[User]AppDataLocalProgramsPythonPython37libsite-packagesmatplotlibaxes_axes.py", line 2430, in bar
  28.     label='_nolegend_',
  29.   File "C:Users[User]AppDataLocalProgramsPythonPython37libsite-packagesmatplotlibpatches.py", line 707, in __init__
  30.     Patch.__init__(self, **kwargs)
  31.   File "C:Users[User]AppDataLocalProgramsPythonPython37libsite-packagesmatplotlibpatches.py", line 89, in __init__
  32.     self.set_linewidth(linewidth)
  33.   File "C:Users[User]AppDataLocalProgramsPythonPython37libsite-packagesmatplotlibpatches.py", line 368, in set_linewidth
  34.     self._linewidth = float(w)
  35. TypeError: only size-1 arrays can be converted to Python scalars
  36.  
  37. Process finished with exit code 1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top