<jupyter_start><jupyter_text>Plot GraphPlot a graph.<jupyter_code># OSMnx: New Methods for Acquiring, Constructing, Analyzing, and Visualizing Complex Street Networks
import osmnx as ox

ox.config(use_cache=True, log_console=False)
ox.__version__
query = '회현동, 중구, 서울특별시, 대한민국'
network_type = 'drive' # "all_private", "all", "bike", "drive", "drive_service", "walk"

# Create graph from OSM within the boundaries of some geocodable place(s).
G = ox.graph_from_place(query, network_type=network_type)

# Plot a graph.
fig, ax = ox.plot_graph(
    G, ax=None, figsize=(8, 8), 
    bgcolor='#111111', 
    node_color='w', 
    node_size=15, 
    node_alpha=None, 
    node_edgecolor='none', 
    node_zorder=1, 
    edge_color='#999999', 
    edge_linewidth=1, 
    edge_alpha=None, 
    show=True, 
    close=False, 
    save=False, 
    filepath=None, 
    dpi=300, 
    bbox=None)<jupyter_output>/Users/junhyun/.pyenv/versions/3.8.5/envs/gis/lib/python3.8/site-packages/osmnx/geocoder.py:110: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
  gdf = gdf.append(_geocode_query_to_gdf(q, wr, by_osmid))
{'fraction_non_alphanumeric': 0.12246621621621621, 'fraction_numerical': 0.024493243243243243, 'mean_word_length': 4.386363636363637, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '254309', 'license': 'MIT', 'n_tokens_mistral': 480, 'n_tokens_neox': 459, 'n_words': 98, 'path': 'osmnx/plot/plot_graph.ipynb', 'repo_name': 'w3labkr/ipynb-gis', 'size': '1184'}