class_docstr: Test ability to marshall deck_gl_json_chart protos via st.map.
class_docstr_tok: ["Test","ability","to","marshall","deck_gl_json_chart","protos","via","st.map","."]
docstr: Test that maps don't stay in memory when you create a new blank one.
  
  This is testing for an actual (fixed) bug.
docstr_tok: ["Test","that","maps","do","n't","stay","in","memory","when","you","create","a","new","blank","one",".","This","is","testing","for","an","actual","(","fixed",")","bug","."]
code: def test_map_leak(self):
      """Test that maps don't stay in memory when you create a new blank one.
  
      This is testing for an actual (fixed) bug.
      """
      st.map(df1)
      st.map()
  
      c = self.get_delta_from_queue().new_element.deck_gl_json_chart
      self.assertEqual(json.loads(c.json), _DEFAULT_MAP)
  
imports: import itertools
  import json
  import numpy
  import pandas
  import pytest
  from parameterized import parameterized
  import streamlit
  from streamlit.elements.map import _DEFAULT_MAP, _DEFAULT_ZOOM_LEVEL
  from streamlit.errors import StreamlitAPIException
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
  from tests.streamlit import pyspark_mocks
  from tests.streamlit.snowpark_mocks import DataFrame
  from tests.streamlit.snowpark_mocks import Table
  from tests.testutil import create_snowpark_session, patch_config_options
label_desc: Use image node_id 12 for calling the StMapTest obj's underlying member method code with example usage: obj.test_map_leak() without return types