matplot pie: rotate labels horizontally?

Using matplot to create a little gauge with the code below: group_size=[10,10,10,10,10,50] labels=['AAAA',...

python stacked bar chart using categorical data?

I have a Pandas dataframe (1800 obs) that looks something like this: A B C D 1 CL0 CL1 ...

use matplotlib.pyplot.plot plot the image with dashed line?

I am learning the matplotlib. But I can not understand the example in their official page. import numpy as np impor...

Animate a point between two points along with rotating earth?

This is an extension to this question where only the point is moving. Now i want to move the earth too, along with ...

How to visualize a nonlinear relationship in a scatter plot?

I want to visually explore the relationship between two variables. The functional form of the relationship is not vi...

Making a fractal graph using a 2D array??

Found this exercise online to practice Python3, and I am almost done, but it doesn't give the result advertised. B...

Move legend outside figure in seaborn tsplot?

I would like to create a time series plot using seaborn.tsplot like in this example from tsplot documentation, but w...

Remove xticks in a matplotlib plot??

I have a semilogx plot and I would like to remove the xticks. I tried: plt.gca().set_xticks([]) plt.xticks([]) ax.s...

Python equivalent to 'hold on' in Matlab?

Is there an explicit equivalent command in Python's matplotlib for Matlab's hold on? I'm trying to plot all my graph...

How to plot vectors in python using matplotlib?

I am taking a course on linear algebra and I want to visualize the vectors in action, such as vector addition, norma...

Plot 4D graph in python2.7?

I want to plot red, blue and green colors on the three axis and an array which stores the value corresoding to each ...

Remove the legend on a matplotlib figure?

To add a legend to a matplotlib plot, one simply runs legend(). How to remove a legend from a plot? (The closest I...

How can I disable the label when plotting pandas data??

I tried using label=None in the plot command, in which case matplotlib chose the key of the data as a label. I find ...