{"id":23803579,"url":"https://github.com/julian-hochhaus/py_modules","last_synced_at":"2026-05-16T00:31:44.698Z","repository":{"id":57473048,"uuid":"99967733","full_name":"Julian-Hochhaus/py_modules","owner":"Julian-Hochhaus","description":null,"archived":false,"fork":false,"pushed_at":"2019-08-01T18:58:37.000Z","size":158,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T00:25:37.462Z","etag":null,"topics":["axis-ticks","decimal-separator","latex","matplotlib","pyplot","python","table","tabular"],"latest_commit_sha":null,"homepage":null,"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/Julian-Hochhaus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-10T21:53:04.000Z","updated_at":"2021-10-22T00:04:12.000Z","dependencies_parsed_at":"2022-09-26T16:31:03.645Z","dependency_job_id":null,"html_url":"https://github.com/Julian-Hochhaus/py_modules","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/Julian-Hochhaus%2Fpy_modules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julian-Hochhaus%2Fpy_modules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julian-Hochhaus%2Fpy_modules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julian-Hochhaus%2Fpy_modules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Julian-Hochhaus","download_url":"https://codeload.github.com/Julian-Hochhaus/py_modules/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240054102,"owners_count":19740766,"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":["axis-ticks","decimal-separator","latex","matplotlib","pyplot","python","table","tabular"],"created_at":"2025-01-01T22:32:41.768Z","updated_at":"2026-04-26T03:30:16.363Z","avatar_url":"https://github.com/Julian-Hochhaus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# py_modules\nIf you got a problem or suggestions to improve the scripts, please create an [issue in git](https://github.com/Julian-Hochhaus/py_modules/issues).\n\nImport via:\n\n    from modules.table import textable\n\n\n\nUsing **textable**:\n\n    textable.latex_tab(data=[arr1,arr2],names=[r\"title column 1\",r\"title column 2\"], filename=r\"example.tex\",caption=r\"Beautiful caption\",label=r\"important_label\",dec_points=[2,0])\n\n\nWhere data_array must be an array of arrays; names_array must be an array of strings, containing the column-names, filename has to be a string,too.\n\ndec_points sets precision for each column. dec_points is ignored, if uncertainty-arrays are used as input. Instead, the rounding rules by Particle Data Group are used (as in uncertainties-package implemented)\n\n\ntableformat was used in an older version. column-width is now detected automatically\n~~tableformat sets global column-width with\n    tableformat=a\nwhere a defines the number of spaces before the decimal separator and b after the decimal separator~~\n\nFor an example, have a look at example.py\n\nlabel must be a string.\n\n\nTo write long tables, use\n\n    textable.long_tab(data=[arr1,arr2],names=[r\"title column 1\",r\"title column 2\"], filename=r\"example.tex\",caption=r\"Beautiful caption\",label=r\"important_label\",dec_points=[2,0])\n\n\n\n**Btw: You do not need to add prefix \"tab:\".**\n\n\nIf you want to see the results, compile the .tex-file.\nTo do so, easiest way is to use the makefile.\nThat will compile main.tex where the generated example.tex is included. \n\n\nUsing **axislabel**\n\nImport via:\n\n    from modules.plot import axislabel as axis\n\nCalling the function:\n\n    axis.labels()\nGrabs the current axis ticks and uses the german decimal separator ',' instead of the '.'\n\nFor an example, have a look at example.py\n\n\n\n**Needs to be called in every plt instance!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulian-hochhaus%2Fpy_modules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulian-hochhaus%2Fpy_modules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulian-hochhaus%2Fpy_modules/lists"}