Doc v2 release notes#6994
Conversation
| CocoaAgg backend removed | ||
| ```````````````````````` | ||
|
|
||
| The deprecated and not fully functional CocoaAgg backend has been removed |
| however, the origin is from the (right, top) of the figure or axes, | ||
| analogous to negative indexing of sequences. | ||
|
|
||
| Optionally, you can specify arrow properties which draws an arrow |
This is something that we probably want to expose as a knob without forcing full classic mode. Closes matplotlib#6998
Both set to {'lines.dotted_pattern': [1.1, 1.1]}
959b812 to
89add4c
Compare
|
May I go ahead and merge this if it passes the tests? It's getting unwieldy; I think it would be better to make any additional related changes in another PR. |
|
Sure! |
|
@efiring can you do the v2.x merge into master so that devdocs will pick this up? |
|
Sure, I'll try it right now. How bad could it be?... |
|
It looks like there are conflicts (as my new PR does not cleanly merge to master)... |
|
Yes, at least one of them is easy; moving on to the others. |
| To use these for images where categories are specified as integers, for | ||
| instance, use:: | ||
|
|
||
| plt.imshow(x, cmap='Dark2', norm=colors.NoNorm()) |
There was a problem hiding this comment.
What's the purpose of NoNorm in this example?
There was a problem hiding this comment.
It just passes the values though without changing them instead of trying to normalize them to [0, 1].
There was a problem hiding this comment.
This helped me http://stackoverflow.com/questions/3034363/displaying-a-colored-2d-array-in-matplotlib-in-python:
The norm=NoNorm() argument avoids any scaling of the matrix values, so that 0 gets the first color in the list, 1 the second, etc.
There was a problem hiding this comment.
Could you add NoNorm to this page: http://matplotlib.org/users/colormapnorms.html
There was a problem hiding this comment.
Yes, I'll have a look.
On Tue, Sep 6, 2016 at 1:39 AM, Thomas A Caswell [email protected]
wrote:
In doc/api/api_changes.rst
#6994 (comment):+will be taken from
matplotlib.rcParams. The previously-existing
+framealphakwarg still controls the alpha transparency of the
+patch.
+
+
+Qualitative colormaps
+---------------------
+
+Colorbrewer's qualitative/discrete colormaps ("Accent", "Dark2", "Paired",
+"Pastel1", "Pastel2", "Set1", "Set2", "Set3") are now implemented as
+ListedColormapinstead ofLinearSegmentedColormap.
+
+To use these for images where categories are specified as integers, for
+instance, use::
+
- plt.imshow(x, cmap='Dark2', norm=colors.NoNorm())
Could you add NoNorm to this page: http://matplotlib.org/users/
colormapnorms.html—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/matplotlib/matplotlib/pull/6994/files/6d97f09cd95ebb90d1aadb67238ca7eb121fa7c7#r77559531,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMm9YuAaU42p7_fG3lsXM_5OPteN_3Bks5qnKg3gaJpZM4JvC49
.
This started out trying to write the release docs for v2.0 and I ended up re-arranging the documentation pretty aggressively.
This has the 3 commits from #6993 (which is what made iterating on this bearable).