Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Unanswered
Hi, I Have A Visualization Issue When Using Plotly And Then “Report_Plotly” My Code Is


` import plotly.express as px
from clearml import Task
import pandas as pd
df = pd.DataFrame({'a': ['val1', 'val1', 'val1', 'val1', 'val1', 'val1', 'val1', 'val1', 'val1', 'val1', 'val2', 'val2', 'val2', 'val2', 'val2', 'val2'],
'b':['group_a', 'group_a', 'group_a', 'group_a', 'group_b', 'group_b', 'group_b', 'group_b', 'group_b', 'group_b', 'group_a', 'group_a', 'group_a', 'group_a', 'group_b', 'group_b']})
task = Task.init(**{"project_name":"test",
"task_name":"test1",})
clearml_logger = task.get_logger()
fig=px.pie(df, names='a', facet_col='b')
clearml_logger.report_plotly('long plot name that goes over facet - pie chart test',
series=f"pie chart test 1 ",
iteration=0,
figure=fig)
task.close()

task = Task.init(**{"project_name":"test",
"task_name":"test2",})
clearml_logger = task.get_logger()
fig=px.pie(df, names='a', facet_col='b')
clearml_logger.report_plotly('long plot name that goes over facet - pie chart test',
series=f"pie chart test 2 ",
iteration=0,
figure=fig)
task.close()

task = Task.init(**{"project_name":"test",
"task_name":"test3",})
clearml_logger = task.get_logger()
fig=px.pie(df, names='a', facet_col='b')
clearml_logger.report_plotly('long plot name that goes over facet - pie chart test',
series=f"pie chart test 3 ",
iteration=0,
figure=fig)
task.close() `

  
  
Posted one year ago
164 Views
0 Answers
one year ago
one year ago