Skip to content
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

Custom Log scale in batch_execution's plot_graphs script #990

Open
brunofavs opened this issue Oct 9, 2024 · 0 comments
Open

Custom Log scale in batch_execution's plot_graphs script #990

brunofavs opened this issue Oct 9, 2024 · 0 comments
Assignees
Labels
low priority To do if there are no other active issues

Comments

@brunofavs
Copy link
Collaborator

Use the code here to implement custom log scale in a clean way in plot_graphs script. Right now its only experimental.

As of right now uncommenting this hunk would toggle a fixed custom log scale. It should be implemented in the plot.yml as a parameter.

# from matplotlib.ticker import MaxNLocator, LogLocator,FormatStrFormatter,ScalarFormatter
# import numpy as np
# plt.gca().yaxis.set_major_locator(LogLocator(base=10, subs=np.arange(0.1, 1, 0.1), numticks=10))
# # plt.gca().yaxis.set_major_formatter(FormatStrFormatter(''))
# plt.gca().yaxis.set_major_formatter(ScalarFormatter())
# plt.gca().yaxis.set_minor_formatter(ScalarFormatter())
# plt.tick_params(axis='y', labelsize=8) # Adjust the label size here (e.g., 8)

@brunofavs brunofavs added the low priority To do if there are no other active issues label Oct 9, 2024
@brunofavs brunofavs self-assigned this Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low priority To do if there are no other active issues
Development

No branches or pull requests

1 participant