Fast-F1 icon indicating copy to clipboard operation
Fast-F1 copied to clipboard

[ENH] Inspiration for additional examples

Open oscr opened this issue 1 year ago • 9 comments

Proposed new feature or change:

I found this page with stats: https://public.tableau.com/app/profile/mateusz.karmalski/viz/F1ResultsTracker2022/Results

I think it would be interesting to implement a few of these as examples to build up the library of example components. I will likely start hacking on this in the future when I get some time, but anyone who is interested please feel free to get started on this work.

oscr avatar Mar 06 '23 19:03 oscr

Those are some nicely done visualizations. Examples for similar analyses would be very nice, yes.

theOehrly avatar Mar 06 '23 21:03 theOehrly

This issue seems to be open for some days. I really like the dashboard, so just did a quick visualisation of this results tracker using plotly. No idea how to properly display plotly output in github, so attached a screenshot below. Shall I do a PR or would you please provide some suggestions? Thx!

results_tracker

harningle avatar Apr 12 '23 00:04 harningle

This issue seems to be open for some days. I really like the dashboard, so just did a quick visualisation of this results tracker using plotly. No idea how to properly display plotly output in github, so attached a screenshot below. Shall I do a PR or would you please provide some suggestions? Thx!

Looks really cool. I think this should go in the example gallery, but I see you have already figured that out.

We are using sphinx-gallery to create the example gallery. There's an example how to have it capture plotly output here: https://sphinx-gallery.github.io/stable/auto_plotly_examples/plot_0_plotly.html

You can open a PR for this, and then we'll see how to get it working properly. We need to modify docs/conf.py as described in the example. And we need to add plotly as a requirement in requirements-dev.txt. I think that it should work after that.

theOehrly avatar Apr 12 '23 17:04 theOehrly

Hey, I'm new here but last week I made a little visualization of Perez's pole lap in Miami where I made a plt which was animated with telemetry data. I'm happy to add this to an example if you guys like it https://twitter.com/i/status/1655004274362048512

UmiVilbig avatar May 16 '23 00:05 UmiVilbig

Beautiful work @UmiVilbig! I would love to see it.

oscr avatar May 16 '23 07:05 oscr

Hey, I'm new here but last week I made a little visualization of Perez's pole lap in Miami where I made a plt which was animated with telemetry data. I'm happy to add this to an example if you guys like it https://twitter.com/i/status/1655004274362048512

That would pretty cool. Quite a few people have already asked about animating graphs. So this would be a cool example. I've never used GIFs in the gallery, but as far as I can tell, it should be supported.

theOehrly avatar May 16 '23 10:05 theOehrly

@theOehrly This is my first time trying to commit to an open-source project so I'm not really sure how to add my example

UmiVilbig avatar May 16 '23 14:05 UmiVilbig

@UmiVilbig I think this is a good description: https://github.com/firstcontributions/first-contributions

You can't cause any damage to the project. So don't worry about breaking anything.

oscr avatar May 16 '23 15:05 oscr

You can't cause any damage to the project. So don't worry about breaking anything.

This puts it very well 😁

@UmiVilbig Also see https://docs.fastf1.dev/contributing/contributing.html#contributing-code

Gallery examples go into the examples folder. You can have a look at the code of the existing examples to see how they are formatted. The examples are generated using sphinx-gallery (https://sphinx-gallery.github.io/stable/index.html).

And then just open a pull request. No worries if you miss something, I'll give feedback and tell you what might need to be changed still.

theOehrly avatar May 16 '23 15:05 theOehrly