fixed some plotting issues
1 unresolved thread
1 unresolved thread
- removed dicts as default kw-params, as this can have unexpected side-effects
- added
plt.show()
in interactive mode -> make the figure window come up - use the right backend in none-interactive mode. problems arise if i call interactive after a non-interactive plot call..
- updated signature in core.modules.tools.plot
Edited by Bert Palm
Merge request reports
Activity
Filter activity
added BUG cleanup/refactoring labels
- Resolved by David Schäfer
335 359 stats=stats, 336 360 plot_kwargs=plot_kwargs, 337 361 fig_kwargs=fig_kwargs, 338 362 stats_dict=stats_dict, 339 363 ) 340 pickle = save_kwargs.pop("pickle", False) 341 if save_path: 342 if pickle: 364 365 if interactive: 366 plt.show() 367 368 else: 369 if save_kwargs.pop("pickle", False): 343 370 with open(save_path, "wb") as f: 344 371 pickle.dump(fig, f) idk -> @luenensc
I thought it might be good to be able to load the picktures in interactive mode for later inspection? if date range is very long/outliers are very extreme, you wont be able to see any thing in a usual .png - just thought its a good otion for data inspection... but may be personal taste, i usually prefer pickled figs over fixed plot pics.
- Resolved by David Schäfer
added 1 commit
- 8be790fe - removed default fixed figure-size in interactive mode, which is unfortunately on small displays
added 1 commit
- 472062b5 - removed default fixed figure-size in interactive mode, which is unfortunate on small displays
mentioned in commit e97b634e