|
From: dilpreet s. <gig...@gm...> - 2013-08-19 23:27:51
|
Hi
i want to plot a scatter plot similar to the one attached with email . I
can plot a histogram but the hist method can't plot a scatter plot . Is
there a way to use the output of the hist() method and use it as an input
to the scatter plot ?
The part of the code i am using to plot histogram is as follows :
data = get_data()
plt.figure(figsize=(7,4))
ax = plt.subplots()
plt.hist(data,histtype='bar',bins = 100,log=True)
plt.show()
Thanks
Dilpreet
|