|
|
|
|
|
|
|
|
|
|
|
import csv |
|
import json |
|
import numpy as np |
|
import pandas as pd |
|
import seaborn as sns |
|
import matplotlib.pyplot as plt |
|
from matplotlib import rc |
|
|
|
|
|
with open('../../Data/database/Kcat_combination_0918.json', 'r') as infile : |
|
entries = json.load(infile) |
|
|
|
print(len(entries)) |
|
|
|
Kcat = [float(entry['Value']) for entry in entries] |
|
|
|
plt.figure(figsize=(3,3)) |
|
|
|
|
|
|
|
rc('font',**{'family':'serif','serif':['Helvetica']}) |
|
plt.rcParams['pdf.fonttype'] = 42 |
|
|
|
|
|
|
|
plt.tick_params(direction='in') |
|
plt.tick_params(which='major',length=1.5) |
|
plt.tick_params(which='major',width=0.4) |
|
|
|
plt.hist(Kcat,5000,color='#2166ac') |
|
plt.xlabel('$k$$_\mathregular{cat}$ value', fontsize=7) |
|
plt.ylabel('Counts', fontsize=7) |
|
|
|
plt.rcParams['font.family'] = 'Helvetica' |
|
|
|
|
|
|
|
|
|
ax = plt.gca() |
|
ax.spines['bottom'].set_linewidth(0.5) |
|
ax.spines['left'].set_linewidth(0.5) |
|
ax.spines['top'].set_linewidth(0.5) |
|
ax.spines['right'].set_linewidth(0.5) |
|
|
|
plt.yscale('log') |
|
plt.xscale('log') |
|
|
|
plt.xticks(fontsize=6) |
|
plt.yticks(fontsize=6) |
|
|
|
plt.tight_layout() |
|
|
|
plt.savefig("../../Results/figures/SuppleFig1a.pdf", dpi=400) |
|
|
|
|
|
|
|
|