code: def _chunk_write(chunk, local_file, progress):
      """Write a chunk to file and update the progress bar"""
      local_file.write(chunk)
      progress.update_with_increment_value(len(chunk))
  
file_path: vispy/vispy/util/fetching.py
imports: from math import log
  import os
  from os import path
  import sys
  import shutil
  import time
  import urllib.request
  from ..util.config import config
label_desc: Use image node_id 3 for calling a global function with example usage: _chunk_write(chunk, local_file, progress) without return types