mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-08 15:05:15 +02:00
Merge pull request #776 from marecabo/fix-plotly-defaults
Fix plotly defaults
This commit is contained in:
commit
92d4828d99
2 changed files with 3 additions and 3 deletions
|
|
@ -44,7 +44,7 @@ it gives back an empty default, when defaults are not defined.
|
|||
|
||||
# Data plots:
|
||||
data_1d = dict(marker_kwargs=dict(), marker='x', color='black')
|
||||
data_2d = dict(marker='o', cmap='Hot', marker_kwargs=dict(opacity=1., size='5', line=Line(width=.5, color='black')))
|
||||
data_2d = dict(marker='o', cmap='Hot', marker_kwargs=dict(opacity=1., size=5, line=Line(width=.5, color='black')))
|
||||
inducing_1d = dict(color=Tango.colorsHex['darkRed'])
|
||||
inducing_2d = dict(marker_kwargs=dict(size='5', opacity=.7, line=Line(width=.5, color='black')), opacity=.7, color='white', marker='star-triangle-up')
|
||||
inducing_3d = dict(marker_kwargs=dict(symbol='diamond', size='5', opacity=.7, line=Line(width=.1, color='black')), color='#F5F5F5')
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ from plotly.graph_objs import Scatter, Scatter3d, Line,\
|
|||
from plotly.exceptions import PlotlyDictKeyError
|
||||
|
||||
SYMBOL_MAP = {
|
||||
'o': 'dot',
|
||||
'o': 'circle-dot',
|
||||
'v': 'triangle-down',
|
||||
'^': 'triangle-up',
|
||||
'<': 'triangle-left',
|
||||
|
|
@ -47,7 +47,7 @@ SYMBOL_MAP = {
|
|||
's': 'square',
|
||||
'+': 'cross',
|
||||
'x': 'x',
|
||||
'*': 'x', # no star yet in plotly!!
|
||||
'*': 'star',
|
||||
'D': 'diamond',
|
||||
'd': 'diamond',
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue