Repository: ManimCommunity/manim

Issue:
Unable to Render Point() Mobjects
## Steps to reproduce the issue:

Run anything that renders a `Point()` .
e.g:
```python
class Test(Scene):
        def construct(self):
                self.add(Point()) 
                self.wait() 
```
## Unexpected Behaviour

This will result in a `NameError: name 'PRODUCTION_QUALITY_CAMERA_CONFIG' is not defined`.
I believe this is because somewhere along the line, `Camera.adjusted_thickness()` is called, which references `PRODUCTION_QUALITY_CAMERA_CONFIG["pixel_width"]` and `PRODUCTION_QUALITY_CAMERA_CONFIG["pixel_height"]`

https://github.com/ManimCommunity/manim/blob/6e5770a85f62877d476ef11c8a52d2c963aba8de/manim/camera/camera.py#L1095-L1096

Since `PRODUCTION_QUALITY_CAMERA_CONFIG` doesn't really exist anymore, it's unable to get the required `pixel_height` and `pixel_width`.

Full Traceback for your perusal:

```shell
Traceback (most recent call last):
  File "/Users/aathishs/Python/ManimEnv/manim/manim/__main__.py", line 160, in main
    scene = SceneClass()
  File "/Users/aathishs/Python/ManimEnv/manim/manim/scene/scene.py", line 72, in __init__
    self.construct()
  File "<string>", line 5, in construct
  File "/Users/aathishs/Python/ManimEnv/manim/manim/scene/scene.py", line 855, in wrapper
    func(self, *args, **kwargs)
  File "/Users/aathishs/Python/ManimEnv/manim/manim/scene/scene.py", line 1073, in wait
    self.update_frame()
  File "/Users/aathishs/Python/ManimEnv/manim/manim/scene/scene.py", line 250, in update_frame
    self.capture_mobjects_in_camera(mobjects, **kwargs)
  File "/Users/aathishs/Python/ManimEnv/manim/manim/scene/scene.py", line 212, in capture_mobjects_in_camera
    self.camera.capture_mobjects(mobjects, **kwargs)
  File "/Users/aathishs/Python/ManimEnv/manim/manim/camera/camera.py", line 509, in capture_mobjects
    func(batch, self.pixel_array)
  File "/Users/aathishs/Python/ManimEnv/manim/manim/camera/camera.py", line 866, in display_multiple_point_cloud_mobjects
    self.adjusted_thickness(pmobject.stroke_width),
  File "/Users/aathishs/Python/ManimEnv/manim/manim/camera/camera.py", line 1118, in adjusted_thickness
    PRODUCTION_QUALITY_CAMERA_CONFIG["pixel_height"],
NameError: name 'PRODUCTION_QUALITY_CAMERA_CONFIG' is not defined
```


Discussion:

Resolving patch:
diff --git a/manim/camera/camera.py b/manim/camera/camera.py
--- a/manim/camera/camera.py
+++ b/manim/camera/camera.py
@@ -10,7 +10,7 @@
 import numpy as np
 
 from ..constants import *
-from ..config import config
+from ..config import config, camera_config
 from ..logger import logger
 from ..mobject.types.image_mobject import AbstractImageMobject
 from ..mobject.mobject import Mobject
@@ -1092,8 +1092,7 @@ def adjusted_thickness(self, thickness):
         """
         # TODO: This seems...unsystematic
         big_sum = op.add(
-            PRODUCTION_QUALITY_CAMERA_CONFIG["pixel_height"],
-            PRODUCTION_QUALITY_CAMERA_CONFIG["pixel_width"],
+            camera_config["default_pixel_height"], camera_config["default_pixel_width"],
         )
         this_sum = op.add(self.get_pixel_height(), self.get_pixel_width(),)
         factor = fdiv(big_sum, this_sum)
diff --git a/manim/config.py b/manim/config.py
--- a/manim/config.py
+++ b/manim/config.py
@@ -34,6 +34,8 @@ def _parse_config(config_parser, args):
         section = config_parser["CLI"]
     config = {opt: section.getint(opt) for opt in config_parser[flag]}
 
+    config["default_pixel_height"] = default.getint("pixel_height")
+    config["default_pixel_width"] = default.getint("pixel_width")
     # The -r, --resolution flag overrides the *_quality flags
     if args.resolution is not None:
         if "," in args.resolution:
diff --git a/manim/scene/scene_file_writer.py b/manim/scene/scene_file_writer.py
--- a/manim/scene/scene_file_writer.py
+++ b/manim/scene/scene_file_writer.py
@@ -439,10 +439,10 @@ def combine_movie_files(self):
             "remove_non_integer_files": True,
             "extension": file_writer_config["movie_file_extension"],
         }
-        if file_writer_config['from_animation_number'] is not None:
-            kwargs["min_index"] = file_writer_config['from_animation_number']
-        if file_writer_config['upto_animation_number'] not in [None, np.inf]:
-            kwargs["max_index"] = file_writer_config['upto_animation_number']
+        if file_writer_config["from_animation_number"] is not None:
+            kwargs["min_index"] = file_writer_config["from_animation_number"]
+        if file_writer_config["upto_animation_number"] not in [None, np.inf]:
+            kwargs["max_index"] = file_writer_config["upto_animation_number"]
         else:
             kwargs["remove_indices_greater_than"] = self.scene.num_plays - 1
         partial_movie_files = get_sorted_integer_files(


Test patch: