From: Eric F. <ef...@ha...> - 2012-10-10 01:42:50
|
On 2012/10/09 3:03 PM, Mike Kaufman wrote: > > The example code should explain the problem. > tick_params(), at least for the ticks themselves, is ignored by log plots. > > clf() > x = arange(10) > subplot(211) > plot(x, x) > tick_params(right='off') # works. > > subplot(212) > semilogy(x, x) > tick_params(right='off') # doesn't work! > draw() You need to specify an additional kwarg, which='both'. The default is "major" only, but log axes use minor and major ticks. Eric > > M > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > |