Spaces:
Runtime error
Runtime error
ashutosh1919
commited on
Commit
•
2b9363f
1
Parent(s):
a90ca10
Changed distibution plot
Browse files- gradio_app.py +2 -1
gradio_app.py
CHANGED
@@ -23,7 +23,8 @@ def run_perceptron(
|
|
23 |
plt.text(i, v+10, v)
|
24 |
plt.xlabel('Measured State')
|
25 |
plt.ylabel('Frequency of Measured State')
|
26 |
-
|
|
|
27 |
return prob_1, freq_hist
|
28 |
|
29 |
|
|
|
23 |
plt.text(i, v+10, v)
|
24 |
plt.xlabel('Measured State')
|
25 |
plt.ylabel('Frequency of Measured State')
|
26 |
+
freq_hist.subplots_adjust(top=0.2)
|
27 |
+
freq_hist.tight_layout()
|
28 |
return prob_1, freq_hist
|
29 |
|
30 |
|