I ask it, and it results in a downvoted question because it's duplicated.
Asking a duplicate question is never an issue nor a reason to get downvotes. There is a lot of duplicate questions that get upvoted because they are well written and well explained. Finding a duplicate isn't always trivial and easy.
So if your question is well asked1 and you really did a research effort2 before asking then there is no reason to get downvotes even if it get closed as duplicate.
1 https://stackoverflow.com/help/how-to-ask
2 If for example I can find the answer by googling your title or some of your content then I can conclude that you have done 0 effort and you may probably deserve a downvote.
If I take this question as an example and I google your title I will get these results and the second question seems to be pretty close: matplotlib 2d line line,=plot comma meaning. This at some degree explain the downvotes you got.
So first ask google the same question you would ask on stackoverflow and don't stick to the first result. Spend few minutes checking all the links and go to the second and even the third result page. You have a good chance to find what you need.
If you get nothing then get back to (1) and write a good question. Here also you should take the needed time to write the question.
What you should avoid
- Let me Google this.
- Checking the first link. (Not what I want)
- Let me ask a question. (Taking 5 min to write it)
- downvotes, closes votes ...
What you should do
- Let me Google this.
- Checking many links (SO and not SO).
- Reading all the answers, comments, following related links.
- Get back to (1) and try different keywords. (probably 5 or 6 times, even 10 times!)
- Still nothing, let me ask a question.
- While writing, I am getting related questions, let me check them.
- Updating the quesiton, reading it again, fixing mistakes.
- Let me have another Google try.
- Still nothing. Reading my question again, adding tags.
- hit the ask question button!
You may probably never reach (10) and you will get your answer before.
my question about vague topic xyz site:stackoverflow.com