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

Skip to content

Commit b9f4e2d

Browse files
committed
Merge remote-tracking branch 'origin/v1.1.x'
2 parents 6a26621 + 679e9d7 commit b9f4e2d

3 files changed

Lines changed: 3 additions & 8 deletions

File tree

lib/matplotlib/_cm.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
'blue' : ((0., 1., 1.), (1., 0., 0.))
1414
}
1515

16-
_bone_data = {'red': ((0., 0., 0.),(1.0, 1.0, 1.0)),
17-
'green': ((0., 0., 0.),(1.0, 1.0, 1.0)),
18-
'blue': ((0., 0., 0.),(1.0, 1.0, 1.0))}
19-
20-
2116
_autumn_data = {'red': ((0., 1.0, 1.0),(1.0, 1.0, 1.0)),
2217
'green': ((0., 0., 0.),(1.0, 1.0, 1.0)),
2318
'blue': ((0., 0., 0.),(1.0, 0., 0.))}

lib/matplotlib/pyplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1626,12 +1626,12 @@ def colors():
16261626
16271627
You can also use any legal html name for a color, for example::
16281628
1629-
color = 'red',
1629+
color = 'red'
16301630
color = 'burlywood'
16311631
color = 'chartreuse'
16321632
16331633
The example below creates a subplot with a dark
1634-
slate gray background
1634+
slate gray background::
16351635
16361636
subplot(111, axisbg=(0.1843, 0.3098, 0.3098))
16371637

src/path_converters.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ class PathClipper
382382
return code;
383383
}
384384
}
385-
else if (code == agg::path_cmd_end_poly | agg::path_flags_close
385+
else if (code == (agg::path_cmd_end_poly | agg::path_flags_close)
386386
&& m_broke_path && m_has_init)
387387
{
388388
*x = m_initX;

0 commit comments

Comments
 (0)