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

[docs] Tabs for example gallery! #1521

Merged
merged 5 commits into from
Jan 27, 2021
Merged

[docs] Tabs for example gallery! #1521

merged 5 commits into from
Jan 27, 2021

Conversation

OriolAbril
Copy link
Member

@OriolAbril OriolAbril commented Jan 23, 2021

Description

As proposed in #1484, this PR modifies the example gallery to have a single page per type of plot.
Each page has then one tab per backend to ease comparison between backends.

You can see the preview at https://oriolabril.github.io/arviz/examples/index.html, let me know what you think about it.

Also, side note, now only one thumb per example is required, therefore, we can use matplotlib to generate thumbs and forget about exporting bokeh plots as png files and the extra dependencies it requires which I believe will simplify building docs locally.

Checklist

  • Does the PR follow official
    PR format?
  • Is the documentation numpydoc compliant?
  • Is the fix listed in the Documentation
    section of the changelog?

@OriolAbril OriolAbril changed the title Tabs for example gallery! [docs] Tabs for example gallery! Jan 23, 2021
@codecov
Copy link

codecov bot commented Jan 23, 2021

Codecov Report

Merging #1521 (07c1b41) into main (2494f6d) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1521   +/-   ##
=======================================
  Coverage   91.77%   91.77%           
=======================================
  Files         105      105           
  Lines       11330    11330           
=======================================
  Hits        10398    10398           
  Misses        932      932           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2494f6d...07c1b41. Read the comment docs.

Copy link
Contributor

@AlexAndorra AlexAndorra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it @OriolAbril 😍
Must have been a bit hard to refactor, from what I saw 😅 But the display is much cleaner now 👌

Base automatically changed from master to main January 26, 2021 19:44
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

Successfully merging this pull request may close these issues.

2 participants