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

Bug with colorbar and low DPI output in PDF #6827

Open
@astrofrog

Description

@astrofrog

The following example (with Matplotlib 2.0.0b3) causes the colorbar inside the colorbar axes to be offset when outputting to PDF with a low DPI:

import matplotlib.pyplot as pltfig = plt.figure()ax = fig.add_subplot(1,1,1)im = ax.imshow([[1]])fig.colorbar(im)fig.savefig('colorbar_test.pdf', dpi=7)

colorbar_test

This wasn't an issue with Matplotlib 1.4:

colorbar_test

and the bug was apparently introduces in Matplotlib 1.5:

colorbar_test

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp