Posts by Janderson Ribeiro • 13 points
2 posts
-
0
votes0
answers28
viewsQ: matplotlib.axes.Axes.hist : need to understand the relationship between input and output parameters
For example, it has the following code: import matplotlib import numpy as np import matplotlib.pyplot as plt np.random.seed(10**7) mu = 121 sigma = 21 x = mu + sigma * np.random.randn(1000) num_bins…
-
0
votes1
answer78
viewsQ: Doubt on the Setter
class Bola: def __init__(self, cor, circunferencia, material): self.__cor = cor self.__circunferencia = circunferencia self.__material = material @cor.setter def cor(self, cor): self.__cor = cor…