<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def render_response(self, **kwargs):
 """Render the graph, and return a Flask response"""

        from flask import Response
        return Response(self.render(**kwargs), mimetype='image/svg+xml')