8000 Add a border to clarify the boundary of the image. · matplotlib/matplotlib@d62cd55 · GitHub
[go: up one dir, main page]

Skip to content

Commit d62cd55

Browse files
committed
Add a border to clarify the boundary of the image.
1 parent 1cfb18b commit d62cd55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/colors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,7 @@ def _repr_html_(self):
711711
'<img ' +
712712
'alt="' + self.name + ' color map" ' +
713713
'title="' + self.name + '"' +
714+
'style="border: 1px solid #555;" ' +
714715
'src="data:image/png;base64,' + png_base64 + '">')
715716

716717

0 commit comments

Comments
 (0)
0