Skip to content

Markers have compression artifacts #8284

Closed
@fkbreitl

Description

@fkbreitl

Bug report

Markers appear smeared and not clear

  • When I plot markers with pyplot they show compression artifacts even when I save them as PNG.

Code for reproduction

#!/usr/bin/env python                                                          

import numpy as np
import matplotlib.pyplot as plt

x = [1, 2, 3]

plt.errorbar(x, x, xerr=.05, yerr=.02, fmt='+')

plt.savefig('test.png')

Actual outcome

See image attached.

Expected outcome

I want markers without smearing or interpolation as clear as the resolution permits.

Matplotlib version

  • Matplotlib version 2.0.0, Python 2.7.13 and Debian 9.
  • Matplotlib installed with pip

test

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions