ответвлено от main/python-labs
pravki
Этот коммит содержится в:
@@ -314,7 +314,6 @@ pylab.show()
|
||||
### Построение круговой диаграммы
|
||||
```py
|
||||
region=['Центр','Урал','Сибирь','Юг']
|
||||
pylab.show()
|
||||
naselen=[65,12,23,17]
|
||||
pylab.pie(naselen,labels=region)
|
||||
([<matplotlib.patches.Wedge object at 0x00000160BCB69BE0>, <matplotlib.patches.Wedge object at 0x00000160BD497390>, <matplotlib.patches.Wedge object at 0x00000160BD497750>, <matplotlib.patches.Wedge object at 0x00000160BD4979D0>], [Text(-0.191013134139045, 1.0832885038559115, 'Центр'), Text(-0.861328292412156, -0.6841882582231001, 'Урал'), Text(0.04429273995539947, -1.0991078896938387, 'Сибирь'), Text(0.9873750693480946, -0.48486129194837324, 'Юг')])
|
||||
|
||||
Ссылка в новой задаче
Block a user