-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEAT: Grpc transition #782
Conversation
# Conflicts: # src/pyedb/grpc/edb_core/edb_data/edbvalue.py
@svandenb-dev I won't have the time to review the changes with my current work load. |
if plot_net and self.net_name: | ||
fig, ax = self._pedb.nets.plot([self.net_name], color_by_net=True, show=False, show_legend=False) | ||
else: | ||
fig = plt.figure(figsize=figsize) | ||
ax = fig.add_subplot(1, 1, 1) | ||
xt, yt = self.points() | ||
p1 = [(i, j) for i, j in zip(xt[::-1], yt[::-1])] | ||
|
||
holes = [] | ||
for void in self.voids: | ||
xvt, yvt = void.points(arc_segments=3) | ||
h1 = [(i, j) for i, j in zip(xvt, yvt)] | ||
holes.append(h1) | ||
poly = Polygon(p1, holes) | ||
plot_polygon(poly, add_points=False, color=(1, 0, 0)) | ||
ax.grid(False) | ||
ax.set_axis_off() | ||
# Hide axes ticks | ||
ax.set_xticks([]) | ||
ax.set_yticks([]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ax is set in nets.plot() in line 815. Is it correct to set it again from 829 to 833?
@svandenb-dev is this PR ready for review? Some tests are failing. |
No it's not yet ready. I will remove the config file test for now and will work on fixing failing tests. |
No description provided.