Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is an (x,y) plot alternative to matplotlib in Python?

I've been trying for several hours to download/build/install/use matplotlib and am at my wit's end. I finally got it to build and it runs but doesn't display anything despite calling plt.show().

Is there an alternative to matplotlib? I just need something in Python to graph (x,y) data, in either lines or points. (I'm running Python 2.7 in Mac OSX 10.6)

edit: please point me at a source of binary installers for any reputable package besides matplotlib. Building from source code on my machine seem to have trouble for some reason.

like image 622
Jason S Avatar asked Jan 21 '12 19:01

Jason S


People also ask

Why use Seaborn instead of Matplotlib?

Seaborn is more comfortable in handling Pandas data frames. It uses basic sets of methods to provide beautiful graphics in python. Matplotlib works efficiently with data frames and arrays.It treats figures and axes as objects. It contains various stateful APIs for plotting.

What is the best plotting library for Python?

matplotlib. matplotlib is the O.G. of Python data visualization libraries. Despite being over a decade old, it's still the most widely used library for plotting in the Python community.


1 Answers

Since posting this question I found out about the free Anaconda Python which has precompiled binaries for the major platforms, and includes matplotlib, so I've been using that.

like image 117
Jason S Avatar answered Oct 11 '22 14:10

Jason S