Commit a11e3e2a authored by Joshua Gould's avatar Joshua Gould

external js update. Chart buttons to show.

parent bdb168bf
/*!! /*!!
* Canvas 2 Svg v1.0.17 * Canvas 2 Svg v1.0.19
* A low level canvas to SVG converter. Uses a mock canvas context to build an SVG document. * A low level canvas to SVG converter. Uses a mock canvas context to build an SVG document.
* *
* Licensed under the MIT license: * Licensed under the MIT license:
...@@ -880,7 +880,7 @@ ...@@ -880,7 +880,7 @@
* @private * @private
*/ */
ctx.prototype.__parseFont = function() { ctx.prototype.__parseFont = function() {
var regex = /^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-,\"\sa-z]+?)\s*$/i; var regex = /^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-,\'\"\sa-z]+?)\s*$/i;
var fontPart = regex.exec( this.font ); var fontPart = regex.exec( this.font );
var data = { var data = {
style : fontPart[1] || 'normal', style : fontPart[1] || 'normal',
...@@ -1029,6 +1029,7 @@ ...@@ -1029,6 +1029,7 @@
id = randomString(this.__ids), id = randomString(this.__ids),
newGroup = this.__createElement("g"); newGroup = this.__createElement("g");
this.__applyCurrentDefaultPath();
group.removeChild(this.__currentElement); group.removeChild(this.__currentElement);
clipPath.setAttribute("id", id); clipPath.setAttribute("id", id);
clipPath.appendChild(this.__currentElement); clipPath.appendChild(this.__currentElement);
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -236,7 +236,7 @@ morpheus.ChartTool2.getPlotlyDefaults = function () { ...@@ -236,7 +236,7 @@ morpheus.ChartTool2.getPlotlyDefaults = function () {
margin: { margin: {
l: 80, l: 80,
r: 0, r: 0,
t: 10, t: 24, // leave space for modebar
b: 14, b: 14,
autoexpand: true autoexpand: true
}, },
...@@ -270,7 +270,7 @@ morpheus.ChartTool2.getPlotlyDefaults = function () { ...@@ -270,7 +270,7 @@ morpheus.ChartTool2.getPlotlyDefaults = function () {
displaylogo: false, displaylogo: false,
staticPlot: false, staticPlot: false,
showHints: true, showHints: true,
modeBarButtonsToRemove: ['sendDataToCloud'] modeBarButtonsToRemove: ['sendDataToCloud', 'zoomIn2d', 'zoomOut2d', 'hoverCompareCartesian', 'hoverClosestCartesian']
}; };
return { return {
layout: layout, layout: layout,
......
...@@ -752,7 +752,7 @@ morpheus.HeatMap.prototype = { ...@@ -752,7 +752,7 @@ morpheus.HeatMap.prototype = {
color: 'red' color: 'red'
}] }]
}; };
} else if (options.filename.toLowerCase().indexOf('copynumber') !== -1) { } else if (options.filename.toLowerCase().indexOf('copynumber') !== -1 || options.filename.toLowerCase().indexOf('copy number') !== -1) {
colorScheme = { colorScheme = {
type: 'fixed', type: 'fixed',
map: [{ map: [{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment