| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This is not true:
$> grep -ir decadeOnly * Binary file doc/build/doctrees/api/ticker_api.doctree matches doc/build/html/api/ticker_api.html:<p>if attribute <em>decadeOnly</em> is True, only the decades will be labelled.</p> lib/matplotlib/ticker.py: if attribute *decadeOnly* is True, only the decades will be labelled. lib/matplotlib/ticker.py: self.decadeOnly = True
Sorry, something went wrong.
|
This is a small-ish change if anyone is prepared to go over it? |
Sorry, something went wrong.
|
I don't like how you do the string formatting of the 'b' variable separately from the formatting of the rest of the label. Why not do the string concatenation of the needed format string for the base and then do all the formatting at once? |
Sorry, something went wrong.
|
I agree that it is a little awkward to follow. I'm not seeing your suggestion though, do you mean make base be either "%s" or "%d" and then use that for the string interpolation later on? |
Sorry, something went wrong.
|
Yes. Do all the string formatting at once. |
Sorry, something went wrong.
|
Ok @WeatherGod, I think this resolves your concern. |
Sorry, something went wrong.
|
Looks good to me. Feel free to merge. |
Sorry, something went wrong.
|
Right, thanks for that. Merging... |
Sorry, something went wrong.
Fixed logformatting for non integer bases.
| Back | FazBrowse Home | New Git URL |
Fixes #909.