Is that what you want ?
No ticks, no labels:
import matplotlib.pyplot as plt
plt.plot(np.arange(10), np.arange(10))
plt.ylim(0,10)
plt.yticks(np.linspace(3,10,8))
plt.show()
Ticks but no labels:
import matplotlib.pyplot as plt
plt.plot(np.arange(10), np.arange(10))
plt.ylim(0,10)
plt.yticks(n
What's the best way in Matplotlib to have a y axis that doesn't have
ticks/axis numbers near the bottom of the graph? I don't know if it would
be specified as the bottom 1/10th of the graph or x amount of pixels or
inches or whatever...just need a bit of extra "y-less" space there to plot
values t
2011/11/22 Robert Kern :
> To get matplotlib 1.1.0 right now, you will have to build it yourself from
> sources.
Matplotlib packages for Precise also seem to work well in Oneiric.
Goyo
--
All the data continuously gener
On 11/22/11 9:40 AM, andrei barcaru wrote:
> Hello
> My name is Andrew and I'm working in University of Gerona, Spain. I've
> installed
> the entought distribution package on UBUNTU 11 32b OS . During the install I
> was
> asked by the shell if I want to create a folder .. so I did that, I've
>
You may need to set your default font to something with those characters.
For example:
import matplotlib
matplotlib.rcParams['font.family'] = 'DejaVu Sans'
Mike
On 11/22/2011 05:41 AM, Yannick Copin wrote:
> Hi,
>
> I'm confused regarding the use of Unicode characters in matplotlib. I
Hi Paul,
Thanks. I tried that and I get the same results as you --- running
"./version.py" returns 2.7.1 but "python version.py" returns 2.7.2. I think
it's because the python installed at /usr/bin/python is the one that came with
the OS; when I installed python 2.7.2 using macports, it install
Hello
My name is Andrew and I'm working in University of Gerona, Spain. I've
installed the entought distribution package on UBUNTU 11 32b OS . During
the install I was asked by the shell if I want to create a folder .. so I
did that, I've created a folder named pyth. Now .. when I'm trying to
impor
On 11/21/11 8:45 PM, Arlindo da Silva wrote:
Hi,
(A similar issue was reported back in 7/4/11 without a definite
solution, so I am reposting with some additional diagnostics. ) Up to
Matplotlib 0.99 (EPD 6.3) the code snippet below produced a plot with
an aligned colorbar as in the attache
Hi,
I'm confused regarding the use of Unicode characters in matplotlib. I tried
the following:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import matplotlib.pyplot as P
ax = P.gca()
ax.set_title(u"OK: ±×÷, Not OK: αβγδ")
P.show()
The 1st "OK" characters are displayed correctly, while th