Myelofibrosis Facts Overview

 

 

 

python code 

import matplotlib.pyplot as plt
names= "Jak2 Mutation Present" ,"Maybe" , "No Jak2 Mutation",
size=[60, 10, 30]

#create circle
circle_jake2= plt.Circle((0,0), 0.7, color="white")
plt.pie(size, labels=names, colors=["red", "skyblue", "green"])
p=plt.gcf()
plt.title("60%- 65% Patients with JAK2 Mutation")
p.gca().add_artist(circle_jake2)
plt.show()

d={ "AE": ["Fatigue", "Abdominal discomfort" ,"Night sweats","Bone pain", "Itching"],
  "Percent": [80,53,51,40,40]}
df=pd.DataFrame(data=d)
plt.hlines(y=np.arange(1,6), xmin=0, xmax= df["Percent"])
plt.show()

acolors=["red" , "coral", "yellow" ,"lightgreen", "skyblue"] 
plt.hlines(y=np.arange(1,6), xmin=0, xmax= df["Percent"], color=acolors)
plt.plot(df['Percent'], np.arange(1,6), "*" , color="cyan", markersize=9)
plt.yticks(np.arange(1,6), df['AE'])
plt.ylabel ("Adverse Events")
plt.xlabel("Percentage")
plt.title("The Most Common Symptom for MF")
plt.show()

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Social media & sharing icons powered by UltimatelySocial
%d bloggers like this: