Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown plot marks fail silently #1176

Open
muzimuzhi opened this issue Jul 21, 2022 · 0 comments
Open

Unknown plot marks fail silently #1176

muzimuzhi opened this issue Jul 21, 2022 · 0 comments

Comments

@muzimuzhi
Copy link
Member

muzimuzhi commented Jul 21, 2022

Brief outline of the bug

An unknown plot mark should give some prompt instead of failing silently and drawing nothing.

Edit: Sorry for using the bug issue template. It can be considered as a feature request as well.

Minimal working example (MWE)

In example below, unknown marks o and alwaysunknown both fail silently.

\documentclass{article}
\usepackage{tikz}

\begin{document}
\tikz {
  \draw plot[mark=x] (0,0);
  \draw plot[mark=o] (1,0); % need libraray `plotmarks`
  \draw plot[mark=alwaysunknown] (2,0);
}
\end{document}

I've prepared an implementation on https://github.com/muzimuzhi/pgf/tree/unknown-mark.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant