Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG: fix mistake in calling from_list #920

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

Merged
merged 1 commit into from
Jun 4, 2012
Merged

Conversation

endolith
Copy link
Contributor

@endolith endolith commented Jun 4, 2012

example:

In [6]: cm.cmap_d['winter'].name
Out[6]: 'winter'

In [7]: cm.cmap_d['gist_rainbow'].name
Out[7]: 
((0.0, (1.0, 0.0, 0.16)),
 (0.03, (1.0, 0.0, 0.0)),
 (0.215, (1.0, 1.0, 0.0)),
 (0.4, (0.0, 1.0, 0.0)),
 (0.586, (0.0, 1.0, 1.0)),
 (0.77, (0.0, 0.0, 1.0)),
 (0.954, (1.0, 0.0, 1.0)),
 (1.0, (1.0, 0.0, 0.75)))

@mdboom
Copy link
Member

mdboom commented Jun 4, 2012

+1

efiring added a commit that referenced this pull request Jun 4, 2012
fix mistake in calling from_list
@efiring efiring merged commit c61caf8 into matplotlib:master Jun 4, 2012
@efiring
Copy link
Member

efiring commented Jun 4, 2012

Immediately after pressing "Merge" I realized this is a simple bug that should be fixed in v1.1.x also.

mdboom added a commit that referenced this pull request Jun 5, 2012
pelson added a commit that referenced this pull request Jun 6, 2012
* upstream/v1.1.x:
  Pass ints to Tk.Canvas.create_image
  Backport #920 to the v1.1.x branch
  Add info about installing from source using Pip.  Closes #646.
  Fixed string concatenation.
  .
  Ported fix from #910
  Install the mpltest.ttf file
  Remove PNG from the test_ttconv test -- it doesn't seem to work across freetype versions, and also it doesn't actually test ttconv, wihch is not used by the Agg backend.
  Move test font inside test directory
  Add a test case for ttconv
  Fix TrueType to Type-3 font conversion
  Fix bug when resizing qt4 figure window.
@endolith endolith deleted the patch-7 branch February 25, 2013 15:20
@endolith endolith changed the title fix mistake in calling from_list BUG: fix mistake in calling from_list May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants