cats icon indicating copy to clipboard operation
cats copied to clipboard

Graph of forecast

Open andreww opened this issue 1 year ago • 1 comments

Mostly for the joss paper, but arguably for more general use, it would be cool if CATS could create a matplotlib graph showing the forecast with highlighted time periods showing the optimum time to run and the CI if the job was to run now. If the footprint is available putting this on as text would be useful.

andreww avatar Aug 07 '24 13:08 andreww

I am wondering if we could even use a tool to convert the graph to a primitive text-based form that can be displayed in the terminal, if someone switched on a CLI/config. flag to say they wanted to see that? Tools such as these (just from searching on some keywords, but I am familiar with the concept of terminal-based plots already) could allow us to do that, hopefully without much work, if we wrap them:

  • https://github.com/piccolomo/plotext
  • https://github.com/glamp/bashplotlib
  • https://github.com/nschloe/termplotlib
  • https://github.com/tammoippen/plotille

I guess it depends how complicated we can expect the plot to be, if too complicated it probably won't work as a TUI-like element, being easily unreadable.

I can open a separate Issue if folks think a terminal plot could be useful?

sadielbartholomew avatar Aug 24 '24 09:08 sadielbartholomew

Resolved via #112

andreww avatar Jun 24 '25 08:06 andreww