{"id":16859949,"url":"https://github.com/ahuang11/holoext","last_synced_at":"2025-04-11T08:03:29.712Z","repository":{"id":57437483,"uuid":"121999830","full_name":"ahuang11/holoext","owner":"ahuang11","description":" HoloViews Extension Mod","archived":false,"fork":false,"pushed_at":"2018-08-29T15:53:58.000Z","size":5067,"stargazers_count":8,"open_issues_count":2,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-03T18:22:52.141Z","etag":null,"topics":["beautify","bokeh","data-visualization","holoviews","matplotlib","plotting"],"latest_commit_sha":null,"homepage":"https://holoext.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahuang11.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-18T23:18:41.000Z","updated_at":"2021-02-24T20:34:43.000Z","dependencies_parsed_at":"2022-09-17T06:42:41.479Z","dependency_job_id":null,"html_url":"https://github.com/ahuang11/holoext","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahuang11%2Fholoext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahuang11%2Fholoext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahuang11%2Fholoext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahuang11%2Fholoext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahuang11","download_url":"https://codeload.github.com/ahuang11/holoext/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239580714,"owners_count":19662809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beautify","bokeh","data-visualization","holoviews","matplotlib","plotting"],"created_at":"2024-10-13T14:20:16.794Z","updated_at":"2025-02-19T01:31:31.030Z","avatar_url":"https://github.com/ahuang11.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HoloExt - HoloViews Extension Mod v1.0.4\n\n### An extension to beautify your plots and process.\n### Note that this package is now deprecated with the advent of hvPlot https://hvplot.pyviz.org/\n\n## HoloExt features:\n1. 'intelligent' resizing and activation of tools in addition to grid lines\n2. a straightforward method of saving to file `.apply(plot, 'name_of_file')`\n3. immediate application of a minimalistic style to plots\n4. [keywords like `xlim`, `ylim`, `xlabel`, `ylabel`, `title` can be used](https://holoext.readthedocs.io/en/latest/examples/matplotlib_xlim_ylim_xlabel_ylabel_title.html)\n5. [user forgiving parsing of toolbar and legend locs](https://holoext.readthedocs.io/en/latest/examples/amend_loc_keyword_showcase.html)\n6. [automatic discretization of color bars](https://holoext.readthedocs.io/en/latest/examples/changing_colorbar_cmap.html)\n7. [color maps (color tables) from NCAR Command Language (NCL)](https://holoext.readthedocs.io/en/latest/examples/changing_colorbar_cmap.html)\n8. [And more!](https://holoext.readthedocs.io/en/latest/examples/user_guide.html)\n\n## Here's some motivation to [get started!](https://holoext.readthedocs.io/en/latest/examples/quick_start.html)\n\n### Do your plotting as usual in Holoviews.\n```python\ncurves = hv.Curve(df, 'day', 'min_temp_f', label='Max Temp', group='KCMI') * \\\n         hv.Curve(df, 'day', 'max_temp_f', label='Min Temp', group='KCMI')\ncurves  # curve without mod\n```\n![Before Mod](https://raw.githubusercontent.com/ahuang11/holoext/master/docs/examples/static_output/quick_start_before.png)\n\n### Then simply apply the mod!\n```python\nfrom holoext.xbokeh import Mod\n\nMod().apply(curves)\n```\nThis automatically increases figure size, applies a minimalistic look, and adds the hover tool, albeit hidden in the toolbar.\n\nHowever, these mods are not fixed in stone; you can easily adjust it:\u003cbr /\u003e\n`Mod(width=300, height=300, tools='default')`\n\nIf you would like to show the hover tool in the toolbar, it's easily done too:\u003cbr /\u003e\n`Mod(show_hover=True)`\n\n![After Mod](https://raw.githubusercontent.com/ahuang11/holoext/master/docs/examples/static_output/quick_start_after.png)\n\n### Apply more settings easily and save to .html by passing in any string argument to .apply()\n```python\nmod_curves = Mod(\n    xlabel='Date', ylabel='Temperature [F]',\n    tools=['xpan', 'xwheel_zoom', 'save', 'reset', 'hover']\n).apply(curves, save='html_output/kcmi_2016_2017_temps')\nmod_curves\n```\n![After Mod with Settings](https://raw.githubusercontent.com/ahuang11/holoext/master/docs/examples/static_output/quick_start_final.png)\n\n## Check out the [gallery](https://holoext.readthedocs.io/en/latest/docs/examples/gallery.html) to see it work for all types of plots like these!\n\n![Station Temperature and Precipitation](https://raw.githubusercontent.com/ahuang11/holoext/master/docs/examples/static_output/gallery_station_temperature_and_precipitation.png)\n\n![ORD Wind Speed and Wind Direction](https://raw.githubusercontent.com/ahuang11/holoext/master/docs/examples/static_output/gallery_ord_wind_speed_wind_dir.png)\n\n## HOW TO GET IT:\nMethod 1\n1. `pip install holoext`\n2. Ensure your packages version (`pip list`) match with ones listed in requirements.txt\n\nMethod 2\n1. Type `git clone https://github.com/ahuang11/holoext`\n2. Go into holoext folder (where setup.py is)\n3. Type `pip install -e .`\n\n### Check out the docs [here](https://holoext.readthedocs.io/en/latest/index.html)!\n\n### Random, but awesome, tips: https://github.com/ahuang11/ahhsumtips\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahuang11%2Fholoext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahuang11%2Fholoext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahuang11%2Fholoext/lists"}