大熊猫有误差线但没有线条?

时间:2019-05-12 20:36:46

标签: python pandas matplotlib jupyter-notebook

enter image description here我正在尝试在图形中绘制一组实验结果,包括误差线。使用提供的代码示例,我到达了所附的图。我更喜欢没有连接这五个实验的线,但希望在五个实验数据点的每个点周围有盒形误差线。有没有办法做到这一点?

    RequestQueue requestQueue = Volley.newRequestQueue(this);
    requestQueue.start();

    JsonObjectRequest jsonObjectRequest = new JsonObjectRequest(com.android.volley.Request.Method.GET,
            URL, null, new com.android.volley.Response.Listener<JSONObject>() {
        @Override
        public void onResponse(JSONObject response) {
            parseOrders(response);
        }
    }, new com.android.volley.Response.ErrorListener() {
        @Override
        public void onErrorResponse(VolleyError error) {
            Log.d("Volley", error.getMessage());
            Toast.makeText(MainActivity.this, error.getMessage(), Toast.LENGTH_SHORT).show();
        }
    })
    {
        @Override
        public Map<String, String> getHeaders() {
            Map<String, String>  params = new HashMap<>();
            params.put("accept", "application/json");
            params.put("content-type", "application/json");
            params.put("x-auth-token", "myToken");
            params.put("x-auth-client", "myClientID");

            return params;
        }

        @Override
        public String getBodyContentType() {
            return "application/json";
        }
    };
    requestQueue.add(jsonObjectRequest);

0 个答案:

没有答案