Spaces:
Sleeping
Sleeping
Delete fewshot_matplot.txt
Browse files- fewshot_matplot.txt +0 -19
fewshot_matplot.txt
DELETED
@@ -1,19 +0,0 @@
|
|
1 |
-
Plot a bar graph or line graph based on requirement and which ever best fits for the use case
|
2 |
-
using st.pyplot(fig), matplotlib.pyplot and streamlit and numpy if needed.
|
3 |
-
Use the below example code as reference:
|
4 |
-
|
5 |
-
Request: How many cars were produced each year from 2000 to 2004?
|
6 |
-
|
7 |
-
Plot graph for:
|
8 |
-
import streamlit as st
|
9 |
-
import matplotlib.pyplot as plt
|
10 |
-
import numpy as np
|
11 |
-
|
12 |
-
arr = np.random.normal(1, 1, size=100)
|
13 |
-
fig, ax = plt.subplots()
|
14 |
-
ax.hist(arr, bins=20)
|
15 |
-
|
16 |
-
st.pyplot(fig)
|
17 |
-
|
18 |
-
Request:
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|