Skip to content

Commit 0904555

Browse files
committed
Updated icons for nbagg backend to work with IPython 3.0
1 parent ff1515b commit 0904555

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/matplotlib/backends/backend_nbagg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def connection_info():
8989
_FONT_AWESOME_CLASSES = {
9090
'home': 'fa fa-home icon-home',
9191
'back': 'fa fa-arrow-left icon-arrow-left',
92-
'forward': 'fa fa--arrow-right icon-arrow-right',
92+
'forward': 'fa fa-arrow-right icon-arrow-right',
9393
'zoom_to_rect': 'fa fa-square-o icon-check-empty',
9494
'move': 'fa fa-arrows icon-move',
9595
None: None

lib/matplotlib/backends/backend_webagg_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def draw_rubberband(self, event, x0, y0, x1, y1):
315315
"rubberband", x0=x0, y0=y0, x1=x1, y1=y1)
316316

317317
def release_zoom(self, event):
318-
super(NavigationToolbar2WebAgg, self).release_zoom(event)
318+
backend_bases.NavigationToolbar2.release_zoom(self, event)
319319
self.canvas.send_event(
320320
"rubberband", x0=-1, y0=-1, x1=-1, y1=-1)
321321

lib/matplotlib/backends/web_backend/nbagg_mpl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ mpl.figure.prototype._init_toolbar = function() {
115115

116116
// Add the close button to the window.
117117
var buttongrp = $('<div class="btn-group inline pull-right"></div>');
118-
var button = $('<button class="btn btn-mini btn-danger" href="#" title="Close figure"><i class="fa icon-remove icon-large"></i></button>');
118+
var button = $('<button class="btn btn-mini btn-danger" href="#" title="Close figure"><i class="fa fa-times icon-remove icon-large"></i></button>');
119119
button.click(function (evt) { fig.handle_close(fig, {}); } );
120120
button.mouseover('Close figure', toolbar_mouse_event);
121121
buttongrp.append(button);

0 commit comments

Comments
 (0)