Skip to content

Commit

Permalink
OWMap: rename Heatmap section to Overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
kernc committed Dec 2, 2016
1 parent 4986ca7 commit 5b99f17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Orange/widgets/visualize/_owmap/owmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ legendControl.onAdd = function () {
if (model_predictions.extrema) {
var box = L.DomUtil.create('div', 'legend-box', div);
box.innerHTML += L.Util.template(
'<h3>Heatmap</h3><hr/>' +
'<h3>Overlay</h3><hr/>' +
'<table class="continuous">' + // I'm sorry
'<tr><td rowspan="2" style="width:2em; background:linear-gradient({colors})"></td><td> {minval}</td></tr>' +
'<tr><td> {maxval}</td></tr>' +
Expand All @@ -658,7 +658,7 @@ legendControl.onAdd = function () {
colors = model_predictions.colors,
full_labels = model_predictions.full_labels,
box = L.DomUtil.create('div', 'legend-box', div);;
var str = '<h3>Heatmap</h3><hr/>';
var str = '<h3>Overlay</h3><hr/>';
for (var i=0; i<labels.length; ++i) {
if (i >= 9) {
str += L.Util.template('<div>&nbsp;&nbsp;+ {n_more} more ...</div>', {
Expand Down
2 changes: 1 addition & 1 deletion Orange/widgets/visualize/owmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ def _set_class_attr():
else:
self.train_model()

box = gui.vBox(self.controlArea, 'Heatmap')
box = gui.vBox(self.controlArea, 'Overlay')
self._combo_class = combo = gui.comboBox(
box, self, 'class_attr', orientation=Qt.Horizontal,
label='Target:', sendSelectedValue=True, callback=_set_class_attr
Expand Down

0 comments on commit 5b99f17

Please sign in to comment.