API: add aliases to shorthand names e.g. `contour` for `con`
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
There are method names which are shorthand for words descriptive of the nature of the method, where the full word is not available as a method, for example con is the name for the contour plot method and not contour, which is not defined - likewise vect and vector. Whilst having a shorthand name is useful to save typing, it is natural to guess/try the full descriptor for a method name, therefore I think it is also important and more transparent to have the longer name available. So I suggest we have aliases to cover both the long and short versions.
Ideally the shorthand would be the alias and the longhand the canonical defined method, but since in the majority of cases (see lists below) and notably for the core user-facing plot-producing methods con, vect and traj we already have the latter, we can start by doing the opposite and in a future version perhaps switch these over - which would be transparent to the user but under-the-hood a significant code change.
So far cases I have identified where we should create an alias are, noting that due to GB/US English differences we may even want two aliases due to the use of color/colour:
contourforconvectorforvecttrajectoryfortrajcolourbarandcolorbarforcbarcolourscaleandcolourscaleforcscalelevelsforlevsgpositionforgpos
and as for the converse, where there are no shorthands, perhaps:
stipforstipplelpforlineplot
- Vorherrschende Sprache
- Python
- Sterne
- 21
- Forks
- 11
- Ø Merge
- 2 Std. 59 Min.
- Gemergte PRs (30 T.)
- 11
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus NCAS-CMS/cf-plot
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
Maintainer antworten meist innerhalb von 1 Tag
-
dependencies infrastructure installation testing
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
Maintainer antworten meist innerhalb von 1 Tag
-
docs enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in NCAS-CMS/cf-plot
Ähnliche Issues
-
MarkdownDocSerializer.post_process escapes '\<' to '\<', rendering literal '<' in CommonMarkOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
docling-project/docling-core#1067 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
correction metadata
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
acl-org/acl-anthology#11101 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG] crewai tool create/install/login exit 0 when they failEvtl. vergeben @Kiko0301 hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
vllm-project/compressed-tensors#1033 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
chore kaizen ui-rewrite
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
IBM/mcp-context-forge#7681 ·
Maintainer antworten meist innerhalb von 2 Tagen