-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass parameters to plotly through report methods for customization #136
Comments
Thanks for the suggestion @pedropalb ! logger.report_line_plot(title, series, iteration, xtitle, ytitle, extra_layout={'xaxis': {'showticklabels': False, 'range': [0, 5], 'tickfont': {'color': 'magenta'}}}) What do you think? |
This would be a great feature! I recently saw a presentation on Weights and Biases, and you can directly log a matplotlib or plotly object. https://docs.wandb.com/library/log#custom-plots It'd be great to have that feature in Trains! |
Thanks @WillNichols726 ! That said, I think we should push forward with additional control for the reports as suggest above, can't actually see any reason not to ... |
@bmartinn Agreed, would love to see both options in Trains one day! For the automagic example, would that work on headless systems? |
If you are running your code manually (i.e. not with trains-agent) then you have to set the backend to Agg yourself, and the automagic will work. |
@WillNichols726 good news, v0.15 is out 🎈 with this feature added |
@bmartinn Awesome, thanks for following up! |
Thanks for the new feature, @bmartinn! |
@pedropalb good news, the latest RC already contains the full plotly report feature, see example: $ pip install trains==0.15.1rc0 |
Hi!
I suggest you add a kwargs parameter to report methods so one can pass parameters all the way down to plotly enhancing the customization options. For example, I would like to set the axes ranges when using report_line_plot like:
Is it possible to do it in the current version of TRAINS?
Thanks!
The text was updated successfully, but these errors were encountered: