| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| color="blue", family="monospace") | ||
|
|
||
| plt.tight_layout() | ||
| # plt.savefig("linestyles.pdf") |
There was a problem hiding this comment.
I'd remove those two lines, thought I honestly don't have a strong feeling about it.
Sorry, something went wrong.
|
Thanks again for a very nice addition to the gallery. |
Sorry, something went wrong.
|
This could be the base for new linestyles (MEP ?):
|
Sorry, something went wrong.
|
I mention this just in case: there was some discussion related to line style patterns in #6547 a while ago, and the values that were chosen for the '-', ':' and '-.' line styles are a bit different. Personally, I think it may be a good idea to add some extra default line styles like this PR suggest. Quite often, I wish there was (at least) a "dashdotdotted" style available. About the example, I would have 2 remarks:
Apart from these, I find the example to be very nice, as it may provide to the users some ready-to-use values for line style patterns, without having them to try a bunch of values on their own (like I often did...) |
Sorry, something went wrong.
|
@afvincent Thanks for the review.
Also thanks for the link to the PR. Do you now if there's a way to have round caps in 2.0 ? |
Sorry, something went wrong.
|
Actually it doesn't work with ax.set_yaxis() |
Sorry, something went wrong.
|
Line2D.set_dash_capstyle http://matplotlib.org/api/lines_api.html#module-matplotlib.lines There is also a dash_jointstyle |
Sorry, something went wrong.
|
@tacaswell Thanks. I would (personally) prefer round caps by defaults but I imagine it has been already discussed. |
Sorry, something went wrong.
|
Is there anything else to do with this PR ? |
Sorry, something went wrong.
DOC: Example of user-defined linestyle (TikZ linestyle)
| Back | FazBrowse Home | New Git URL |
This is an example showing user-defined linestyle copying name and style of TikZ.