Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Log scale tick labels are overlapping #6549

Closed
Assignees
efiring
Milestone
@mxmlnkn

Description

@mxmlnkn
  • Linux hypatia-pc 4.5.0-1-amd64Fix autofmt_xdate() when using in conjunction with twinx() #1 SMP Debian 4.5.1-1 (2016-04-14) x86_64 GNU/Linux

    lsb_release -a    No LSB modules are available.    Distributor ID: Debian    Description:    Debian GNU/Linux 8.4 (jessie)    Release:    8.4    Codename:   jessie
  • matplotlib 1.5.2~rc2-1

  • Python 2.7.11+

  • installed using:sudo apt-get install -t sid python matplotlibg

Here is an example where the problem appears:

from matplotlib.pyplot import *figure( figsize=[4,3] )subplot( 111, xscale='log' )plot( [1e-20,1e5], [1e-16,10] )show()

For lack of time the following image wasn't reproduced with the above example, but came from another problem:
loglabel-bugfix-reduced

The right side shows the problem and the left side is my workaround which calculates some distance for a given amount of labels I want (here I wanted 5 labels or less). So it set every exponent, but every sixth integer exponent, i.e. -16,-10,-4.

It would be cool if it was fully automatic like with linear scales.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp