We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: AttributeError: 'Rectangle' object has no property 'normed'
Location: Stellar_Distributions: cell [3]
AttributeError Traceback (most recent call last) Input In [3], in <cell line: 11>() 8 ax1, ax2 = axes 10 bins = np.linspace(7, 13, 61) ---> 11 ax1.hist(d1.value, bins, normed=True) 12 ax1.set(ylabel='prob. density [kpc$^{-1}$]', 13 xlabel='distance [kpc]', 14 title='$d=${}'.format(fd1.dist)) 15 ax1.grid(ls=':')
File ~/opt/anaconda3/lib/python3.9/site-packages/matplotlib/init.py:1412, in _preprocess_data..inner(ax, data, *args, **kwargs) 1409 @functools.wraps(func) 1410 def inner(ax, *args, data=None, **kwargs): 1411 if data is None: -> 1412 return func(ax, *map(sanitize_sequence, args), **kwargs) 1414 bound = new_sig.bind(ax, *args, **kwargs) 1415 auto_label = (bound.arguments.get(label_namer) 1416 or bound.kwargs.get(label_namer))
File ~/opt/anaconda3/lib/python3.9/site-packages/matplotlib/axes/_axes.py:6791, in Axes.hist(self, x, bins, range, density, weights, cumulative, bottom, histtype, align, orientation, rwidth, log, color, label, stacked, **kwargs) 6789 if patch: 6790 p = patch[0] -> 6791 p.update(kwargs) 6792 if lbl is not None: 6793 p.set_label(lbl)
File ~/opt/anaconda3/lib/python3.9/site-packages/matplotlib/artist.py:1064, in Artist.update(self, props) 1062 func = getattr(self, f"set_{k}", None) 1063 if not callable(func): -> 1064 raise AttributeError(f"{type(self).name!r} object " 1065 f"has no property {k!r}") 1066 ret.append(func(v)) 1067 if ret:
AttributeError: 'Rectangle' object has no property 'normed'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Error:
AttributeError: 'Rectangle' object has no property 'normed'
Location:
Stellar_Distributions: cell [3]
Error trace:
AttributeError Traceback (most recent call last)
Input In [3], in <cell line: 11>()
8 ax1, ax2 = axes
10 bins = np.linspace(7, 13, 61)
---> 11 ax1.hist(d1.value, bins, normed=True)
12 ax1.set(ylabel='prob. density [kpc$^{-1}$]',
13 xlabel='distance [kpc]',
14 title='$d=${}'.format(fd1.dist))
15 ax1.grid(ls=':')
File ~/opt/anaconda3/lib/python3.9/site-packages/matplotlib/init.py:1412, in _preprocess_data..inner(ax, data, *args, **kwargs)
1409 @functools.wraps(func)
1410 def inner(ax, *args, data=None, **kwargs):
1411 if data is None:
-> 1412 return func(ax, *map(sanitize_sequence, args), **kwargs)
1414 bound = new_sig.bind(ax, *args, **kwargs)
1415 auto_label = (bound.arguments.get(label_namer)
1416 or bound.kwargs.get(label_namer))
File ~/opt/anaconda3/lib/python3.9/site-packages/matplotlib/axes/_axes.py:6791, in Axes.hist(self, x, bins, range, density, weights, cumulative, bottom, histtype, align, orientation, rwidth, log, color, label, stacked, **kwargs)
6789 if patch:
6790 p = patch[0]
-> 6791 p.update(kwargs)
6792 if lbl is not None:
6793 p.set_label(lbl)
File ~/opt/anaconda3/lib/python3.9/site-packages/matplotlib/artist.py:1064, in Artist.update(self, props)
1062 func = getattr(self, f"set_{k}", None)
1063 if not callable(func):
-> 1064 raise AttributeError(f"{type(self).name!r} object "
1065 f"has no property {k!r}")
1066 ret.append(func(v))
1067 if ret:
AttributeError: 'Rectangle' object has no property 'normed'
The text was updated successfully, but these errors were encountered: