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

List of months support #36

Open
dat-lequoc opened this issue Oct 12, 2023 · 0 comments
Open

List of months support #36

dat-lequoc opened this issue Oct 12, 2023 · 0 comments

Comments

@dat-lequoc
Copy link

dat-lequoc commented Oct 12, 2023

Hello,

Thank you very much for the super cool package.

I would like to inquire whether it's possible to select specific months for plotting by passing a list of months. For instance, I'd like to plot only the months [10, 11, 12], without plotting the whole the year.
Currently, I can achieve this by calling month_plot() three times, like so:

from mpl_toolkits.axes_grid1 import Grid
fig = plt.figure()
grid = Grid(fig, rect=111, nrows_ncols=(1,3),
            axes_pad=0.25, label_mode='L',
            )
for i, ax in enumerate(grid):
    july.month_plot(dates_list, data, month=months[i], value_label=True, ax=ax)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant