10000 fixed log bug · matplotlib/matplotlib@4361734 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4361734

Browse files
committed
fixed log bug
svn path=/trunk/matplotlib/; revision=952
1 parent 79b9b80 commit 4361734

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

.matplotlibrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### MATPLOTLIBRC FORMAT
1+
>### MATPLOTLIBRC FORMAT
22
#
33
# This is a sample matplotlib configuration file. It should be placed
44
# in your home dir (Linux and friends) or in the matplotlib data path,

CHANGELOG

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
New entries should be added at the top
22

3-
2005-02-09 matplotlib-0.72 released
43

54
2005-02-09 new zorder example for fine control in zorder_demo.py - FP
65

DEVNOTES

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,11 @@ Standard reminders for numarray build
7474
- email users monitoring the package and me when you are done and
7575
I'll send the announcement
7676

77-
Trove categorization is under Public info on the admin page
77+
Trove categorization is under Public info on the admin page
78+
79+
standard reminders for win32
80+
81+
- setup flags to 1
82+
- backend tkagg in rc
83+
- unix2dos the rc file
84+

lib/matplotlib/axes.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
import cm
1919
from cm import ColormapJet, Grayscale, ScalarMappable
2020
import _image
21-
from ticker import AutoLocator, LogLocator
22-
from ticker import ScalarFormatter, LogFormatter, LogFormatterExponent, LogFormatterMathtext
21+
from ticker import AutoLocator, LogLocator, NullLocator
22+
from ticker import ScalarFormatter, LogFormatter, LogFormatterExponent, LogFormatterMathtext, NullFormatter
2323

2424
from image import AxesImage
2525
from legend import Legend
@@ -2825,6 +2825,8 @@ def set_xscale(self, value, basex = 10, subsx=None):
28252825
elif value == 'linear':
28262826
self.xaxis.set_major_locator(AutoLocator())
28272827
self.xaxis.set_major_formatter(ScalarFormatter())
2828+
self.xaxis.set_minor_locator(NullLocator())
2829+
self.xaxis.set_minor_formatter(NullFormatter())
28282830
self.transData.get_funcx().set_type( IDENTITY )
28292831

28302832

@@ -2908,6 +2910,8 @@ def set_yscale(self, value, basey=10, subsy=None):
29082910
elif value == 'linear':
29092911
self.yaxis.set_major_locator(AutoLocator())
29102912
self.yaxis.set_major_formatter(ScalarFormatter())
2913+
self.yaxis.set_minor_locator(NullLocator())
2914+
self.yaxis.set_minor_formatter(NullFormatter())
29112915
self.transData.get_funcy().set_type( IDENTITY )
29122916

29132917
def set_yticklabels(self, labels, fontdict=None, **kwargs):

0 commit comments

Comments
 (0)
0