1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -04:00

Break out plotting to own crate egui_plot (#3282)

This replaces `egui::plot` with the new crate `egui_plot`
This commit is contained in:
Emil Ernerfeldt
2023-08-27 17:22:49 +02:00
committed by GitHub
parent 87f12d782e
commit 7b169ec13d
30 changed files with 134 additions and 57 deletions

View File

@@ -131,6 +131,7 @@ def main() -> None:
"ecolor",
"eframe",
"egui_extras",
"egui_plot",
"egui_glow",
"egui-wgpu",
"egui-winit",
@@ -141,8 +142,6 @@ def main() -> None:
unsorted_prs = []
unsorted_commits = []
plot = []
for commit_info, pr_info in zip(commit_infos, pr_infos):
hexsha = commit_info.hexsha
title = commit_info.title
@@ -170,14 +169,11 @@ def main() -> None:
continue # We get so many typo PRs. Let's not flood the changelog with them.
added = False
if 'plot' in labels:
plot.append(summary)
added = True
else:
for crate in crate_names:
if crate in labels:
sections.setdefault(crate, []).append(summary)
added = True
for crate in crate_names:
if crate in labels:
sections.setdefault(crate, []).append(summary)
added = True
if not added:
if not any(label in labels for label in ignore_labels):
@@ -188,9 +184,6 @@ def main() -> None:
if crate in sections:
summary = sections[crate]
print_section(crate, summary)
if crate == 'egui':
if 0 < len(plot):
print_section("egui plot", plot)
print_section("Unsorted PRs", unsorted_prs)
print_section("Unsorted commits", unsorted_commits)