Skip to content

Commit 0cbd08c

Browse files
committed
Remove another spurious diff
1 parent 228cb67 commit 0cbd08c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/sage/rings/polynomial/groebner_fan.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@ def homogeneity_space(self):
12341234
return h
12351235

12361236
def render(self, file=None, larger=False, shift=0, rgbcolor=(0, 0, 0),
1237-
polyfill=max_degree, scale_colors=True):
1237+
polyfill=True, scale_colors=True):
12381238
"""
12391239
Render a Groebner fan as sage graphics or save as an xfig file.
12401240
@@ -1262,7 +1262,7 @@ def render(self, file=None, larger=False, shift=0, rgbcolor=(0, 0, 0),
12621262
- ``rgbcolor`` -- This will not affect the saved xfig
12631263
file, only the sage graphics produced.
12641264
1265-
- ``polyfill`` -- Whether or not to fill the cones with
1265+
- ``polyfill`` -- (default: ``True``) Whether or not to fill the cones with
12661266
a color determined by the highest degree in each reduced Groebner
12671267
basis for that cone.
12681268
@@ -1295,6 +1295,8 @@ def render(self, file=None, larger=False, shift=0, rgbcolor=(0, 0, 0),
12951295
...
12961296
NotImplementedError
12971297
"""
1298+
if polyfill is True:
1299+
polyfill = max_degree
12981300
S = self.__ring
12991301
if S.ngens() < 3:
13001302
print("For 2-D fan rendering the polynomial ring must have 3 variables (or more, which are ignored).")

0 commit comments

Comments
 (0)