code: def grid(N: int, D: int):
      for d in range(1, D + 1):
          for n in range(1, N + 1):
              yield rose(Fraction(n, d))
  
file_path: bokeh/examples/plotting/polar.py
imports: from fractions import Fraction
  from math import pi
  import numpy
  from bokeh.colors.named import colors
  from bokeh.io import show
  from bokeh.models import ColumnDataSource, Plot, PolarTransform
  from bokeh.plotting import figure, gridplot
label_desc: Use image node_id 2 for calling a global function with example usage: grid(N, D) without return types