title: How to use matplotlib to plot pyspark sql results
body: <p>I am new to pyspark. I want to plot the result using matplotlib, but not sure which function to use. I searched for a way to convert sql result to pandas and then use plot.</p>