Telegram Group & Telegram Channel
Bashplotlib - библиотека Python, позволяющая визуализировать отображение данных, т.е строить графики прямо в командной строке.

Установка:
pip install bashplotlib

Воспользуемся Numpy, чтобы сформировать несколько случайных массивов:
import numpy as np
from bashplotlib.histogram import plot_hist
arr = np.random.normal(size=1000, loc=0, scale=1)

plot_hist
- это функция bashplotlib, предназначенная для нанесения данных на одномерную гистограмму, как это делает plt.hist в Matplotlib. Затем используем сформированные Numpy случайные массивы из 1,000 нормально распределённых чисел.

Теперь мы легко можем отобразить эти данные следующим образом:

plot_hist(arr, bincount=50)

#python #doc

@github_code
👍31🔥1



tg-me.com/github_code/69
Create:
Last Update:

Bashplotlib - библиотека Python, позволяющая визуализировать отображение данных, т.е строить графики прямо в командной строке.

Установка:
pip install bashplotlib

Воспользуемся Numpy, чтобы сформировать несколько случайных массивов:
import numpy as np
from bashplotlib.histogram import plot_hist
arr = np.random.normal(size=1000, loc=0, scale=1)

plot_hist
- это функция bashplotlib, предназначенная для нанесения данных на одномерную гистограмму, как это делает plt.hist в Matplotlib. Затем используем сформированные Numpy случайные массивы из 1,000 нормально распределённых чисел.

Теперь мы легко можем отобразить эти данные следующим образом:

plot_hist(arr, bincount=50)

#python #doc

@github_code

BY Github




Share with your friend now:
tg-me.com/github_code/69

View MORE
Open in Telegram


Github Telegram | DID YOU KNOW?

Date: |

The Singapore stock market has alternated between positive and negative finishes through the last five trading days since the end of the two-day winning streak in which it had added more than a dozen points or 0.4 percent. The Straits Times Index now sits just above the 3,060-point plateau and it's likely to see a narrow trading range on Monday.

Telegram Gives Up On Crypto Blockchain Project

Durov said on his Telegram channel today that the two and a half year blockchain and crypto project has been put to sleep. Ironically, after leaving Russia because the government wanted his encryption keys to his social media firm, Durov’s cryptocurrency idea lost steam because of a U.S. court. “The technology we created allowed for an open, free, decentralized exchange of value and ideas. TON had the potential to revolutionize how people store and transfer funds and information,” he wrote on his channel. “Unfortunately, a U.S. court stopped TON from happening.”

Github from cn


Telegram Github
FROM USA