Created
February 6, 2024 15:41
-
-
Save Crypt-iQ/3ca970f0a4c15ee15457c9578f78228e to your computer and use it in GitHub Desktop.
plot feefilters, put feefilter.log in same directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
import os | |
import numpy as np | |
import seaborn as sns | |
import pandas as pd | |
from scipy.stats import norm | |
lines = open("feefilter.log").read().splitlines() | |
data = [] | |
for x in range(0, len(lines)): | |
if int(lines[x]) == 250000000000: | |
continue | |
data.append(int(lines[x])) | |
print(len(data)) | |
print(data) | |
plt.axis([0, 30000, 0, 3000]) | |
df = pd.DataFrame({'feefilter':data}) | |
#sns.histplot(data=df, x="feefilter", binwidth=50) | |
sns.histplot(data=df, x="feefilter") | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment