Skip to content

One one tick in a log-scale axis #8768

@szsdk

Description

@szsdk

Bug report

For the data in a small range, there is just on tick in the default log scale axis, which means nothing.

Code for reproduction

import matplotlib.pylab as plt
plt.loglog([ 0.53,  0.41],[ 0.53,  0.41] )
plt.show()

Actual outcome

image

Expected outcome
Give at least two ticks for each axis.

Matplotlib version

  • Operating System: Ubuntu 16.04
  • Matplotlib Version: 2.02
  • Python Version: 3.6.0
    I install the library by conda.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions