class_docstr: Test drawing individual pixels.
docstr: Test plotting multiple [x, y] points on a (m, n) image.
docstr_tok: ["Test","plotting","multiple","[","x",",","y","]","points","on","a","(","m",",","n",")","image","."]
code: def test_draw_point2d_grayscale_second_order(self, dtype, device):
      """Test plotting multiple [x, y] points on a (m, n) image."""
      points = torch.tensor([(1, 3), (2, 4)], device=device)
      color = torch.tensor([100], dtype=dtype, device=device)
      img = torch.zeros(8, 8, dtype=dtype, device=device)
      img = draw_point2d(img, points, color)
      for x, y in points:
          assert_close(
              torch.unsqueeze(img[y, x], dim=0), color.to(img.dtype)
          )
  
imports: import math
  import pytest
  import torch
  from kornia.testing import assert_close
  from kornia.utils import create_meshgrid, draw_convex_polygon, draw_rectangle
  from kornia.utils.draw import draw_line, draw_point2d
label_desc: Use image node_id 3 for calling the TestDrawPoint obj's underlying member method code with example usage: obj.test_draw_point2d_grayscale_second_order(dtype, device) without return types