-
Notifications
You must be signed in to change notification settings - Fork 111
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
Example uses a color that is not described in any way in documentation. #1159
Comments
I found another example in the documentation where this color is used, but it clearly states that this is the background color:
|
I'm more in favor of adding similar comment to the first occurrence of Both examples use |
@a-is you are right, nowhere in the manual the definition of To support this you may have seen a few lines earlier to the quoted code line above that there is stated the definition of the color.
I agree that we could add a comment here as in the other example. Feel free to provide a PR. @muzimuzhi, regarding the code improvement: For me this is ok for the first example, because in that particular case these are ... pgf/doc/generic/pgf/pgfmanual-en-tikz-matrices.tex Lines 734 to 737 in 2131043
|
Version
3.1.9a
Details
Section 20.3 provides an example of a graph. To draw one of the lines, a color declared only in the documentation file:
pgf/doc/generic/pgf/pgfmanual-en-tikz-matrices.tex
Line 779 in 2131043
It seems to me that this example should be corrected.
I have two a suggestion to improve this example.
First based on using
preaction
:replace
to
Second based on this answer: replace
to
and replace
draw=graphicbackground
todraw,opacity=0
. This will make the outline drawing independent of the background.The text was updated successfully, but these errors were encountered: