Skip to content

No markers in EPS if fillstyle='none' #10921

Closed
@homocomputeris

Description

@homocomputeris

Bug report

Bug summary

If fillstyle='none', on savefig() to EPS there are no markers at all.

Code for reproduction

import matplotlib.pyplot as plt
import numpy as np

b = np.random.rand(50)

plt.figure()
marker_style = dict(markersize=10, fillstyle='none')
plt.plot(b, '--s', **marker_style)
plt.savefig('no_markers_without_filling.eps', format='eps')
plt.close()

Actual outcome

No markers at all.

Expected outcome

Not filled markers, or at least filled markers.

Matplotlib version

  • Operating system: Linux 4.15.13-1-ARCH x86_64 GNU/Linux
  • Matplotlib version: 2.2.2
  • Matplotlib backend (print(matplotlib.get_backend())): Qt5Agg
  • Python version: 3.6.4 (default, Jan 5 2018, 02:35:40) [GCC 7.2.1 20171224]
  • Jupyter version (if applicable):
  • Other libraries:

All installed from ArchLinux's official repos.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions