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

LogNorm ticklabels on colorbar #12503

Closed as not planned
Closed as not planned
Labels
status: closed as inactiveIssues closed by the "Stale" Github Action. Please comment on any you think should still be open.status: inactiveMarked by the “Stale” Github Action
@Phlya

Description

@Phlya

Bug report

Bug summary

I think position of ticklabels on colorbars withLogNorm is sometimes weird, and I believe it wasn't like this in earlier versions, but I haven't checked that now. Namely, in the example below, I would expect the lowest ticklabel be at 5x10-1, not 6x10-1 as it is now.

Code for reproduction

plt.imshow(np.random.random(15**2).reshape((15,15))+0.5,norm=LogNorm(vmax=2,vmin=0.5),cmap='coolwarm')plt.colorbar()

Actual outcome

image

Matplotlib version

  • Operating system: Ubuntu 16.04
  • Matplotlib version: 2.2.2
  • Matplotlib backend (print(matplotlib.get_backend())): inline
  • Python version: 3.5.2
  • Jupyter version (if applicable): Jupyter Lab 0.33.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: closed as inactiveIssues closed by the "Stale" Github Action. Please comment on any you think should still be open.status: inactiveMarked by the “Stale” Github Action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp